patch-2.4.11-dontuse linux/drivers/usb/CDCEther.c
Next file: linux/drivers/usb/Config.in
Previous file: linux/drivers/sound/ymfpci.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Oct 5 12:06:08 2001
- Orig file:
v2.4.10/linux/drivers/usb/CDCEther.c
- Orig date:
Sun Sep 23 11:41:00 2001
diff -u --recursive --new-file v2.4.10/linux/drivers/usb/CDCEther.c linux/drivers/usb/CDCEther.c
@@ -31,12 +31,10 @@
static const char *version = __FILE__ ": v0.98.5 22 Sep 2001 Brad Hards and another";
-/* We need to be selective about what we try to match on, to avoiding loading for a CDC
- * ACM (ISDN or PSTN) modem */
+/* Take any CDC device, and sort it out in probe() */
static struct usb_device_id CDCEther_ids[] = {
- { match_flags: (USB_DEVICE_ID_MATCH_INT_CLASS | USB_DEVICE_ID_MATCH_INT_SUBCLASS),
- bInterfaceClass: USB_CLASS_COMM, bInterfaceSubClass: 6},
- { } /* Terminating null entry */
+ { USB_DEVICE_INFO(USB_CLASS_COMM, 0, 0) },
+ { } /* Terminating null entry */
};
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)