mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-21 03:59:52 +07:00
r8152: add device id for Lenovo ThinkPad USB-C Dock Gen 2
This device is sold as 'ThinkPad USB-C Dock Gen 2 (40AS)'. Chipset is RTL8153 and works with r8152. Without this, the generic cdc_ether grabs the device, and the device jam connected networks up when the machine suspends. Signed-off-by: Kazutoshi Noguchi <noguchi.kazutosi@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e7a409c3f4
commit
b306053197
@ -787,6 +787,13 @@ static const struct usb_device_id products[] = {
|
|||||||
.driver_info = 0,
|
.driver_info = 0,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/* ThinkPad USB-C Dock Gen 2 (based on Realtek RTL8153) */
|
||||||
|
{
|
||||||
|
USB_DEVICE_AND_INTERFACE_INFO(LENOVO_VENDOR_ID, 0xa387, USB_CLASS_COMM,
|
||||||
|
USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
|
||||||
|
.driver_info = 0,
|
||||||
|
},
|
||||||
|
|
||||||
/* NVIDIA Tegra USB 3.0 Ethernet Adapters (based on Realtek RTL8153) */
|
/* NVIDIA Tegra USB 3.0 Ethernet Adapters (based on Realtek RTL8153) */
|
||||||
{
|
{
|
||||||
USB_DEVICE_AND_INTERFACE_INFO(NVIDIA_VENDOR_ID, 0x09ff, USB_CLASS_COMM,
|
USB_DEVICE_AND_INTERFACE_INFO(NVIDIA_VENDOR_ID, 0x09ff, USB_CLASS_COMM,
|
||||||
|
@ -5755,6 +5755,7 @@ static const struct usb_device_id rtl8152_table[] = {
|
|||||||
{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO, 0x7205)},
|
{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO, 0x7205)},
|
||||||
{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO, 0x720c)},
|
{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO, 0x720c)},
|
||||||
{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO, 0x7214)},
|
{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO, 0x7214)},
|
||||||
|
{REALTEK_USB_DEVICE(VENDOR_ID_LENOVO, 0xa387)},
|
||||||
{REALTEK_USB_DEVICE(VENDOR_ID_LINKSYS, 0x0041)},
|
{REALTEK_USB_DEVICE(VENDOR_ID_LINKSYS, 0x0041)},
|
||||||
{REALTEK_USB_DEVICE(VENDOR_ID_NVIDIA, 0x09ff)},
|
{REALTEK_USB_DEVICE(VENDOR_ID_NVIDIA, 0x09ff)},
|
||||||
{REALTEK_USB_DEVICE(VENDOR_ID_TPLINK, 0x0601)},
|
{REALTEK_USB_DEVICE(VENDOR_ID_TPLINK, 0x0601)},
|
||||||
|
Loading…
Reference in New Issue
Block a user