Re: [PATCH v3] r8152: Add macpassthru support for ThinkPad Thunderbolt 3 Dock Gen 2

From: David Miller
Date: Tue Nov 05 2019 - 21:30:49 EST


From: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
Date: Tue, 5 Nov 2019 19:24:52 +0800

> 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@xxxxxxxxxxxxx>
> ---
> v3:
> - Simplify the logic of bypassing macpassthru test.
> v2:
> - Use idVendor and idProduct directly.

Applied to net-next, thank you.