Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48759
b: refs/heads/master
c: 6e91f52
h: refs/heads/master
i:
  48757: 0f7681f
  48755: 8d22a3c
  48751: f7d49a8
v: v3
  • Loading branch information
David Brownell authored and Greg Kroah-Hartman committed Feb 16, 2007
1 parent 545344e commit 6a1446a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6160beb5bfcf8d3cddeecc4e5cd6847621b50893
refs/heads/master: 6e91f527cd0644530894ee3bfb06d209d3c8c54a
16 changes: 13 additions & 3 deletions trunk/drivers/usb/net/cdc_subset.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,19 @@ static int always_connected (struct usbnet *dev)
*
* ALi M5632 driver ... does high speed
*
* NOTE that the MS-Windows drivers for this chip use some funky and
* (naturally) undocumented 7-byte prefix to each packet, so this is a
* case where we don't currently interoperate. Also, once you unplug
* one end of the cable, you need to replug the other end too ... since
* chip docs are unavailable, there's no way to reset the relevant state
* short of a power cycle.
*
*-------------------------------------------------------------------------*/

static const struct driver_info ali_m5632_info = {
.description = "ALi M5632",
};


#endif


Expand Down Expand Up @@ -223,6 +229,10 @@ static const struct usb_device_id products [] = {
USB_DEVICE (0x0402, 0x5632), // ALi defaults
.driver_info = (unsigned long) &ali_m5632_info,
},
{
USB_DEVICE (0x182d,0x207c), // SiteCom CN-124
.driver_info = (unsigned long) &ali_m5632_info,
},
#endif

#ifdef CONFIG_USB_AN2720
Expand Down Expand Up @@ -314,13 +324,13 @@ static struct usb_driver cdc_subset_driver = {

static int __init cdc_subset_init(void)
{
return usb_register(&cdc_subset_driver);
return usb_register(&cdc_subset_driver);
}
module_init(cdc_subset_init);

static void __exit cdc_subset_exit(void)
{
usb_deregister(&cdc_subset_driver);
usb_deregister(&cdc_subset_driver);
}
module_exit(cdc_subset_exit);

Expand Down

0 comments on commit 6a1446a

Please sign in to comment.