Commit f388f977 authored by Petko Manolov's avatar Petko Manolov Committed by Greg Kroah-Hartman

[PATCH] USB: small rtl8150 patch

this one make rtl8150 auto-load its register values at reset.  Not doing
so is known to cause improper setup when the device is being reseted
frequently.
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 5e2522ee
......@@ -20,7 +20,7 @@
#include <asm/uaccess.h>
/* Version Information */
#define DRIVER_VERSION "v0.6.1 (2004/03/13)"
#define DRIVER_VERSION "v0.6.2 (2004/08/27)"
#define DRIVER_AUTHOR "Petko Manolov <petkan@users.sourceforge.net>"
#define DRIVER_DESC "rtl8150 based usb-ethernet driver"
......@@ -344,7 +344,7 @@ static int rtl8150_set_mac_address(struct net_device *netdev, void *p)
static int rtl8150_reset(rtl8150_t * dev)
{
u8 data = 0x10;
u8 data = 0x11;
int i = HZ;
set_registers(dev, CR, 1, &data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment