cdc_ether.c (496322bc91e35007ed754184dcd447a02b6dd685) | cdc_ether.c (c073f666ff5c38477849c5109f2c430df1a60e82) |
---|---|
1/* 2 * CDC Ethernet based networking peripherals 3 * Copyright (C) 2003-2005 by David Brownell 4 * Copyright (C) 2006 by Ole Andre Vadla Ravnas (ActiveSync) 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 632 unchanged lines hidden (view full) --- 641 642/* Huawei E1820 - handled by qmi_wwan */ 643{ 644 USB_DEVICE_INTERFACE_NUMBER(HUAWEI_VENDOR_ID, 0x14ac, 1), 645 .driver_info = 0, 646}, 647 648/* Realtek RTL8152 Based USB 2.0 Ethernet Adapters */ | 1/* 2 * CDC Ethernet based networking peripherals 3 * Copyright (C) 2003-2005 by David Brownell 4 * Copyright (C) 2006 by Ole Andre Vadla Ravnas (ActiveSync) 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 632 unchanged lines hidden (view full) --- 641 642/* Huawei E1820 - handled by qmi_wwan */ 643{ 644 USB_DEVICE_INTERFACE_NUMBER(HUAWEI_VENDOR_ID, 0x14ac, 1), 645 .driver_info = 0, 646}, 647 648/* Realtek RTL8152 Based USB 2.0 Ethernet Adapters */ |
649#if defined(CONFIG_USB_RTL8152) || defined(CONFIG_USB_RTL8152_MODULE) | |
650{ 651 USB_DEVICE_AND_INTERFACE_INFO(REALTEK_VENDOR_ID, 0x8152, USB_CLASS_COMM, 652 USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), 653 .driver_info = 0, 654}, | 649{ 650 USB_DEVICE_AND_INTERFACE_INFO(REALTEK_VENDOR_ID, 0x8152, USB_CLASS_COMM, 651 USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), 652 .driver_info = 0, 653}, |
655#endif | |
656 | 654 |
655/* Realtek RTL8153 Based USB 3.0 Ethernet Adapters */ 656{ 657 USB_DEVICE_AND_INTERFACE_INFO(REALTEK_VENDOR_ID, 0x8153, USB_CLASS_COMM, 658 USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE), 659 .driver_info = 0, 660}, 661 |
|
657/* 658 * WHITELIST!!! 659 * 660 * CDC Ether uses two interfaces, not necessarily consecutive. 661 * We match the main interface, ignoring the optional device 662 * class so we could handle devices that aren't exclusively 663 * CDC ether. 664 * --- 98 unchanged lines hidden --- | 662/* 663 * WHITELIST!!! 664 * 665 * CDC Ether uses two interfaces, not necessarily consecutive. 666 * We match the main interface, ignoring the optional device 667 * class so we could handle devices that aren't exclusively 668 * CDC ether. 669 * --- 98 unchanged lines hidden --- |