Some of the 480 Mbit/sec USB host-to-host links have ALI chips in them. They seem to work with no problem, given this patch, even when the ends talk different speed.
- Dave
--- 1.17/drivers/usb/net/Kconfig Mon Feb 9 18:54:08 2004
+++ edited/drivers/usb/net/Kconfig Thu Mar 4 14:21:32 2004
@@ -131,6 +131,14 @@
comment "USB Host-to-Host Cables"
depends on USB_USBNET
+config USB_ALI_M5632
+ boolean "ALi M5632 based 'USB 2.0 Data Link' cables"
+ depends on USB_USBNET
+ default y
+ help
+ Choose this option if you're using a host-to-host cable
+ based on this design, which supports USB 2.0 high speed.
+
config USB_AN2720
boolean "AnchorChips 2720 based cables (Xircom PGUNET, ...)"
depends on USB_USBNET
--- 1.89/drivers/usb/net/usbnet.c Wed Feb 18 14:36:13 2004
+++ edited/drivers/usb/net/usbnet.c Thu Mar 4 14:24:59 2004
@@ -384,6 +384,23 @@
}
+#ifdef CONFIG_USB_ALI_M5632
+#define HAVE_HARDWARE
+
+/*-------------------------------------------------------------------------
+ *
+ * ALi M5632 driver ... does high speed
+ *
+ *-------------------------------------------------------------------------*/
+
+static const struct driver_info ali_m5632_info = {
+ .description = "ALi M5632",
+};
+
+
+#endif
+
+
#ifdef CONFIG_USB_AN2720
#define HAVE_HARDWARE
@@ -3132,6 +3149,13 @@
*/
static const struct usb_device_id products [] = {
+
+#ifdef CONFIG_USB_ALI_M5632
+{
+ USB_DEVICE (0x0402, 0x5632), // ALi defaults
+ .driver_info = (unsigned long) &ali_m5632_info,
+},
+#endif
#ifdef CONFIG_USB_AN2720
{
