Skip to content

Commit 43779f8

Browse files
hayesorzdavem330
authored andcommitted
r8152: support RTL8153
Support new chip RTL8153 which is the USB 3.0 giga ethernet adapter. Signed-off-by: Hayes Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 507605a commit 43779f8

File tree

3 files changed

+621
-6
lines changed

3 files changed

+621
-6
lines changed

drivers/net/usb/cdc_ether.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ static const struct driver_info wwan_info = {
486486
#define ZTE_VENDOR_ID 0x19D2
487487
#define DELL_VENDOR_ID 0x413C
488488
#define REALTEK_VENDOR_ID 0x0bda
489+
#define SAMSUNG_VENDOR_ID 0x04e8
489490

490491
static const struct usb_device_id products[] = {
491492
/* BLACKLIST !!
@@ -652,6 +653,15 @@ static const struct usb_device_id products[] = {
652653
.driver_info = 0,
653654
},
654655

656+
#if defined(CONFIG_USB_RTL8152) || defined(CONFIG_USB_RTL8152_MODULE)
657+
/* Samsung USB Ethernet Adapters */
658+
{
659+
USB_DEVICE_AND_INTERFACE_INFO(SAMSUNG_VENDOR_ID, 0xa101, USB_CLASS_COMM,
660+
USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
661+
.driver_info = 0,
662+
},
663+
#endif
664+
655665
/* WHITELIST!!!
656666
*
657667
* CDC Ether uses two interfaces, not necessarily consecutive.

0 commit comments

Comments
 (0)