]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: Add macpassthru support for ThinkPad Thunderbolt 3 Dock Gen 2
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 5 Nov 2019 11:24:52 +0000 (19:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Nov 2019 02:30:30 +0000 (18:30 -0800)
commit0c7e0156a6881b2baea58ddb0b1aab82c4ec34ab
tree790c20015ba7d8d34b621a803e9c27821b55dac5
parenta33ccf35fd672e23cc0622fc8e8fc732998ad3e7
r8152: Add macpassthru support for ThinkPad Thunderbolt 3 Dock Gen 2

ThinkPad Thunderbolt 3 Dock Gen 2 is another docking station that uses
RTL8153 based USB ethernet.

The device supports macpassthru, but it failed to pass the test of -AD,
-BND and -BD. Simply bypass these tests since the device supports this
feature just fine.

Also the ACPI objects have some differences between Dell's and Lenovo's,
so make those ACPI infos no longer hardcoded.

BugLink: https://bugs.launchpad.net/bugs/1827961
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Acked-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c
drivers/net/usb/r8152.c