]> 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)
commite0c8f2bce6168d884eefc482de051795eaea49c0
treed78986b9e0240b293a530722764474c70eab4aa9
parentb774a8a47bb02624d1294af29764d5fd3d9007dd
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