[Kernel-packages] [Bug 1827961] Re: Lenovo dock MAC Address pass through doesn't work in Ubuntu

2020-11-20 Thread Christian Schaubschläger
Hello! I have a Lenovo Thinkpad Thunderbolt 3 Dock Gen 2 connected to a Dell Latitude 5400. I'm running a vanilla 5.8.16 kernel. MAC pass-through does not work out of the box. I've narrowed the problem down to the following: Here is the part of the code from the vanilla kernel that does not work

[Kernel-packages] [Bug 1827961] Re: Lenovo dock MAC Address pass through doesn't work in Ubuntu

2020-01-10 Thread Christian Schaubschläger
Hi! I guess the same tweaking is required for the Lenovo ThinkPad USB-C Dock Gen2 (USB-C Dock Ethernet has VID 0x17ef, PID 0xa387). Adding this to rtl8152_probe in r8152.c if (le16_to_cpu(udev->descriptor.idVendor) == VENDOR_ID_LENOVO &&