Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6e91f527cd0644530894ee3bfb06d209d3c8c54a
Commit:     6e91f527cd0644530894ee3bfb06d209d3c8c54a
Parent:     6160beb5bfcf8d3cddeecc4e5cd6847621b50893
Author:     David Brownell <[EMAIL PROTECTED]>
AuthorDate: Thu Feb 15 18:50:01 2007 -0800
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Feb 16 15:32:22 2007 -0800

    usbnet: recognize SiteCom CN-124
    
    Add Sitecom CN-124 device IDs to ALI M5632 usb host-to-host cable;
    device IDs from Francois Barre <[EMAIL PROTECTED]>
    
    Signed-off-by: David Brownell <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/net/cdc_subset.c |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/net/cdc_subset.c b/drivers/usb/net/cdc_subset.c
index ae8fb06..6e3fead 100644
--- a/drivers/usb/net/cdc_subset.c
+++ b/drivers/usb/net/cdc_subset.c
@@ -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
 
 
@@ -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
@@ -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);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to