-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello,
Could this trivial patch be applied to the MDK kernel ? It enables support for the new SL-C760 Zaurus from Sharp in the usbnet module. Otherwise this device is not recognized by the system. I am using it on my machine and it works fine.
Should be applied to drivers/usb/usbnet.c, basically just adds two structures with the proper id for the device.
Regards,
Jan
- --
Jan Ciger VRlab EPFL Switzerland GPG public key : http://www.keyserver.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/XHtun11XseNj94gRAi5qAKDl89Ya7vg9rex8+pf8hTlvlbEppwCgtzA7 DnQeEZaDtvr2CfpzP6mfAB4= =ZL+q -----END PGP SIGNATURE-----
--- usbnet.orig.c 2003-09-08 14:43:15.000000000 +0200 +++ usbnet.c 2003-09-08 14:43:39.000000000 +0200 @@ -1419,6 +1419,16 @@ .in = 1, .out = 2, .epsize = 64, }; +static const struct driver_info zaurus_slc760_info = { + .description = "Sharp Zaurus SL-C760", + .flags = FLAG_FRAMING_Z, + .check_connect = always_connected, + .tx_fixup = zaurus_tx_fixup, + + .in = 1, .out = 2, + .epsize = 64, +}; + #endif @@ -2411,7 +2421,16 @@ .bInterfaceSubClass = 0x0a, .bInterfaceProtocol = 0x00, .driver_info = (unsigned long) &zaurus_slc700_info, -}, +}, { + .match_flags = USB_DEVICE_ID_MATCH_INT_INFO + | USB_DEVICE_ID_MATCH_DEVICE, + .idVendor = 0x04DD, + .idProduct = 0x9031, + .bInterfaceClass = 0x02, + .bInterfaceSubClass = 0x0a, + .bInterfaceProtocol = 0x00, + .driver_info = (unsigned long) &zaurus_slc760_info, +}, #endif { }, // END