diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-04 06:29:54 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-04 06:29:54 -0400 |
commit | 3784fd7316d336f2ba79b6c7c8168d08eff8a714 (patch) | |
tree | 3019c37f1ba588f252d1a9f1ef33beb5d3d683b1 /drivers/usb/net | |
parent | 7c440e7990ea22c0c374c59a5fbd79b0579d1517 (diff) | |
parent | c336923b668fdcf0312efbec3b44895d713f4d81 (diff) |
Merge branch 'master' into upstream
Diffstat (limited to 'drivers/usb/net')
-rw-r--r-- | drivers/usb/net/pegasus.h | 3 | ||||
-rw-r--r-- | drivers/usb/net/rtl8150.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/net/pegasus.h b/drivers/usb/net/pegasus.h index a54752ce1493..006438069b66 100644 --- a/drivers/usb/net/pegasus.h +++ b/drivers/usb/net/pegasus.h | |||
@@ -131,6 +131,7 @@ struct usb_eth_dev { | |||
131 | #define VENDOR_COREGA 0x07aa | 131 | #define VENDOR_COREGA 0x07aa |
132 | #define VENDOR_DLINK 0x2001 | 132 | #define VENDOR_DLINK 0x2001 |
133 | #define VENDOR_ELCON 0x0db7 | 133 | #define VENDOR_ELCON 0x0db7 |
134 | #define VENDOR_ELECOM 0x056e | ||
134 | #define VENDOR_ELSA 0x05cc | 135 | #define VENDOR_ELSA 0x05cc |
135 | #define VENDOR_GIGABYTE 0x1044 | 136 | #define VENDOR_GIGABYTE 0x1044 |
136 | #define VENDOR_HAWKING 0x0e66 | 137 | #define VENDOR_HAWKING 0x0e66 |
@@ -233,6 +234,8 @@ PEGASUS_DEV( "D-Link DSB-650", VENDOR_DLINK, 0xabc1, | |||
233 | DEFAULT_GPIO_RESET ) | 234 | DEFAULT_GPIO_RESET ) |
234 | PEGASUS_DEV( "GOLDPFEIL USB Adapter", VENDOR_ELCON, 0x0002, | 235 | PEGASUS_DEV( "GOLDPFEIL USB Adapter", VENDOR_ELCON, 0x0002, |
235 | DEFAULT_GPIO_RESET | PEGASUS_II | HAS_HOME_PNA ) | 236 | DEFAULT_GPIO_RESET | PEGASUS_II | HAS_HOME_PNA ) |
237 | PEGASUS_DEV( "ELECOM USB Ethernet LD-USB20", VENDOR_ELECOM, 0x4010, | ||
238 | DEFAULT_GPIO_RESET | PEGASUS_II ) | ||
236 | PEGASUS_DEV( "EasiDock Ethernet", VENDOR_MOBILITY, 0x0304, | 239 | PEGASUS_DEV( "EasiDock Ethernet", VENDOR_MOBILITY, 0x0304, |
237 | DEFAULT_GPIO_RESET ) | 240 | DEFAULT_GPIO_RESET ) |
238 | PEGASUS_DEV( "Elsa Micolink USB2Ethernet", VENDOR_ELSA, 0x3000, | 241 | PEGASUS_DEV( "Elsa Micolink USB2Ethernet", VENDOR_ELSA, 0x3000, |
diff --git a/drivers/usb/net/rtl8150.c b/drivers/usb/net/rtl8150.c index bd09232ce13c..a72685b96061 100644 --- a/drivers/usb/net/rtl8150.c +++ b/drivers/usb/net/rtl8150.c | |||
@@ -972,6 +972,7 @@ static void rtl8150_disconnect(struct usb_interface *intf) | |||
972 | if (dev) { | 972 | if (dev) { |
973 | set_bit(RTL8150_UNPLUG, &dev->flags); | 973 | set_bit(RTL8150_UNPLUG, &dev->flags); |
974 | tasklet_disable(&dev->tl); | 974 | tasklet_disable(&dev->tl); |
975 | tasklet_kill(&dev->tl); | ||
975 | unregister_netdev(dev->netdev); | 976 | unregister_netdev(dev->netdev); |
976 | unlink_all_urbs(dev); | 977 | unlink_all_urbs(dev); |
977 | free_all_urbs(dev); | 978 | free_all_urbs(dev); |