--- zzzz-none-000/linux-2.6.32.61/drivers/net/usb/cdc_ether.c 2013-06-10 09:43:48.000000000 +0000 +++ ar10-7272-687/linux-2.6.32.61/drivers/net/usb/cdc_ether.c 2014-03-13 17:35:54.000000000 +0000 @@ -159,8 +159,10 @@ "ACM capabilities %02x, " "not really RNDIS?\n", acm->bmCapabilities); - goto bad_desc; - } +/* 20140313 AVM/WK: Fix for buggy ZTE rndis modems, ignore buggy descriptor +** goto bad_desc; +*/ + } } break; case USB_CDC_UNION_TYPE: @@ -438,6 +440,22 @@ .bInterfaceSubClass = USB_CDC_SUBCLASS_ETHERNET, \ .bInterfaceProtocol = USB_CDC_PROTO_NONE +/* Altair LTE modem. uses the class, needs a custom driver; */ +{ + .match_flags = USB_DEVICE_ID_MATCH_DEVICE, + .idVendor = 0x216f, + .idProduct = 0x0040, + .driver_info = 0, +}, + +/* Altair LTE modem. uses the class, needs a custom driver; */ +{ + .match_flags = USB_DEVICE_ID_MATCH_DEVICE, + .idVendor = 0x216f, + .idProduct = 0x0041, + .driver_info = 0, +}, + /* SA-1100 based Sharp Zaurus ("collie"), or compatible; * wire-incompatible with true CDC Ethernet implementations. * (And, it seems, needlessly so...) @@ -524,11 +542,14 @@ * NOTE: this match must come AFTER entries blacklisting devices * because of bugs/quirks in a given product (like Zaurus, above). */ + +/* == AVM/BC 20120816 Driver should not support devices by default == */ { USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), .driver_info = (unsigned long) &cdc_info, -}, { +}, +#if 0 /* Ericsson F3507g */ USB_DEVICE_AND_INTERFACE_INFO(0x0bdb, 0x1900, USB_CLASS_COMM, USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), @@ -599,6 +620,7 @@ USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE), .driver_info = (unsigned long) &cdc_info, }, +#endif //0 { }, // END }; MODULE_DEVICE_TABLE(usb, products);