File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -583,6 +583,11 @@ static const struct usb_device_id products[] = {
583
583
.bInterfaceSubClass = USB_CDC_SUBCLASS_ETHERNET , \
584
584
.bInterfaceProtocol = USB_CDC_PROTO_NONE
585
585
586
+ #define ZAURUS_FAKE_INTERFACE \
587
+ .bInterfaceClass = USB_CLASS_COMM , \
588
+ .bInterfaceSubClass = USB_CDC_SUBCLASS_MDLM , \
589
+ .bInterfaceProtocol = USB_CDC_PROTO_NONE
590
+
586
591
/* SA-1100 based Sharp Zaurus ("collie"), or compatible;
587
592
* wire-incompatible with true CDC Ethernet implementations.
588
593
* (And, it seems, needlessly so...)
@@ -636,6 +641,13 @@ static const struct usb_device_id products[] = {
636
641
.idProduct = 0x9032 , /* SL-6000 */
637
642
ZAURUS_MASTER_INTERFACE ,
638
643
.driver_info = 0 ,
644
+ }, {
645
+ .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
646
+ | USB_DEVICE_ID_MATCH_DEVICE ,
647
+ .idVendor = 0x04DD ,
648
+ .idProduct = 0x9032 , /* SL-6000 */
649
+ ZAURUS_FAKE_INTERFACE ,
650
+ .driver_info = 0 ,
639
651
}, {
640
652
.match_flags = USB_DEVICE_ID_MATCH_INT_INFO
641
653
| USB_DEVICE_ID_MATCH_DEVICE ,
Original file line number Diff line number Diff line change @@ -256,6 +256,11 @@ static const struct usb_device_id products [] = {
256
256
.bInterfaceSubClass = USB_CDC_SUBCLASS_ETHERNET , \
257
257
.bInterfaceProtocol = USB_CDC_PROTO_NONE
258
258
259
+ #define ZAURUS_FAKE_INTERFACE \
260
+ .bInterfaceClass = USB_CLASS_COMM , \
261
+ .bInterfaceSubClass = USB_CDC_SUBCLASS_MDLM , \
262
+ .bInterfaceProtocol = USB_CDC_PROTO_NONE
263
+
259
264
/* SA-1100 based Sharp Zaurus ("collie"), or compatible. */
260
265
{
261
266
.match_flags = USB_DEVICE_ID_MATCH_INT_INFO
@@ -313,6 +318,13 @@ static const struct usb_device_id products [] = {
313
318
.idProduct = 0x9032 , /* SL-6000 */
314
319
ZAURUS_MASTER_INTERFACE ,
315
320
.driver_info = ZAURUS_PXA_INFO ,
321
+ }, {
322
+ .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
323
+ | USB_DEVICE_ID_MATCH_DEVICE ,
324
+ .idVendor = 0x04DD ,
325
+ .idProduct = 0x9032 , /* SL-6000 */
326
+ ZAURUS_FAKE_INTERFACE ,
327
+ .driver_info = (unsigned long )& bogus_mdlm_info ,
316
328
}, {
317
329
.match_flags = USB_DEVICE_ID_MATCH_INT_INFO
318
330
| USB_DEVICE_ID_MATCH_DEVICE ,
You can’t perform that action at this time.
0 commit comments