20 #include <linux/module.h>
23 #include <linux/netdevice.h>
25 #include <linux/ethtool.h>
27 #include <linux/mii.h>
66 #if defined(CONFIG_USB_EPSON2888) || defined(CONFIG_USB_ARMLINUX)
68 static int always_connected (
struct usbnet *
dev)
74 #ifdef CONFIG_USB_ALI_M5632
98 #ifdef CONFIG_USB_AN2720
124 #ifdef CONFIG_USB_BELKIN
125 #define HAVE_HARDWARE
144 #ifdef CONFIG_USB_EPSON2888
145 #define HAVE_HARDWARE
162 .check_connect = always_connected,
176 #ifdef CONFIG_USB_KC2190
177 #define HAVE_HARDWARE
185 #ifdef CONFIG_USB_ARMLINUX
186 #define HAVE_HARDWARE
207 .check_connect = always_connected,
213 .check_connect = always_connected,
219 .check_connect = always_connected,
228 #ifndef HAVE_HARDWARE
229 #warning You need to configure some hardware for this driver
239 #ifdef CONFIG_USB_ALI_M5632
241 USB_DEVICE (0x0402, 0x5632),
242 .driver_info = (
unsigned long) &ali_m5632_info,
245 USB_DEVICE (0x182d,0x207c),
246 .driver_info = (
unsigned long) &ali_m5632_info,
250 #ifdef CONFIG_USB_AN2720
252 USB_DEVICE (0x0547, 0x2720),
253 .driver_info = (
unsigned long) &an2720_info,
255 USB_DEVICE (0x0547, 0x2727),
256 .driver_info = (
unsigned long) &an2720_info,
260 #ifdef CONFIG_USB_BELKIN
262 USB_DEVICE (0x050d, 0x0004),
263 .driver_info = (
unsigned long) &belkin_info,
265 USB_DEVICE (0x056c, 0x8100),
266 .driver_info = (
unsigned long) &belkin_info,
268 USB_DEVICE (0x0525, 0x9901),
269 .driver_info = (
unsigned long) &belkin_info,
273 #ifdef CONFIG_USB_EPSON2888
275 USB_DEVICE (0x0525, 0x2888),
276 .driver_info = (
unsigned long) &epson2888_info,
280 #ifdef CONFIG_USB_KC2190
282 USB_DEVICE (0x050f, 0x0190),
283 .driver_info = (
unsigned long) &kc2190_info,
287 #ifdef CONFIG_USB_ARMLINUX
306 USB_DEVICE (0x049F, 0x505A),
307 .driver_info = (
unsigned long) &linuxdev_info,
309 USB_DEVICE (0x0E7E, 0x1001),
310 .driver_info = (
unsigned long) &yopy_info,
312 USB_DEVICE (0x8086, 0x07d3),
313 .driver_info = (
unsigned long) &blob_info,
315 USB_DEVICE (0x1286, 0x8001),
316 .driver_info = (
unsigned long) &blob_info,
321 USB_DEVICE (0x0525, 0xa4a2),
322 .driver_info = (
unsigned long) &linuxdev_info,
332 static struct usb_driver cdc_subset_driver = {
333 .name =
"cdc_subset",
338 .id_table = products,
339 .disable_hub_initiated_lpm = 1,