ChangeSet 1.954.1.2, 2003/01/06 15:48:16-08:00, david-b@pacbell.net [PATCH] zaurus B500 (sl-5600?) & usbnet More Zaurii. That model will be interesting from the perspective of "usb gadget drivers", lots of flexible endpoints are available. diff -Nru a/drivers/usb/usbnet.c b/drivers/usb/usbnet.c --- a/drivers/usb/usbnet.c Thu Jan 16 10:52:19 2003 +++ b/drivers/usb/usbnet.c Thu Jan 16 10:52:19 2003 @@ -1416,6 +1416,16 @@ .in = 1, .out = 2, .epsize = 64, }; +static const struct driver_info zaurus_slb500_info = { + /* Japanese B500 ~= US SL-5600 */ + .description = "Sharp Zaurus SL-B500", + .flags = FLAG_FRAMING_Z, + .check_connect = always_connected, + .tx_fixup = zaurus_tx_fixup, + + .in = 1, .out = 2, + .epsize = 64, +}; // SL-5600 and C-700 are PXA based; should resemble A300 @@ -2374,8 +2384,7 @@ .bInterfaceSubClass = 0x00, .bInterfaceProtocol = 0x00, .driver_info = (unsigned long) &zaurus_sl5x00_info, -}, -{ +}, { .match_flags = USB_DEVICE_ID_MATCH_INT_INFO | USB_DEVICE_ID_MATCH_DEVICE, .idVendor = 0x04DD, @@ -2384,6 +2393,15 @@ .bInterfaceSubClass = 0x0a, .bInterfaceProtocol = 0x00, .driver_info = (unsigned long) &zaurus_sla300_info, +}, { + .match_flags = USB_DEVICE_ID_MATCH_INT_INFO + | USB_DEVICE_ID_MATCH_DEVICE, + .idVendor = 0x04DD, + .idProduct = 0x8006, + .bInterfaceClass = 0x02, + .bInterfaceSubClass = 0x0a, + .bInterfaceProtocol = 0x00, + .driver_info = (unsigned long) &zaurus_slb500_info, }, #endif