]> git.baikalelectronics.ru Git - kernel.git/commit
net: usb: r8152: Add MAC passthrough support for more Lenovo Docks
authorAaron Ma <aaron.ma@canonical.com>
Tue, 16 Nov 2021 14:19:17 +0000 (22:19 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2021 14:46:19 +0000 (14:46 +0000)
commit51e4be94cb94f69f483415621b4407f04e92d254
treed78986b9e0240b293a530722764474c70eab4aa9
parentd1a751200f6f04cd745ff36760a190c948004eca
net: usb: r8152: Add MAC passthrough support for more Lenovo Docks

Like ThinkaPad Thunderbolt 4 Dock, more Lenovo docks start to use the original
Realtek USB ethernet chip ID 0bda:8153.

Lenovo Docks always use their own IDs for usb hub, even for older Docks.
If parent hub is from Lenovo, then r8152 should try MAC passthrough.
Verified on Lenovo TBT3 dock too.

Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c