Aaron Ma <aaron.ma@xxxxxxxxxxxxx> > Sent: Thursday, January 27, 2022 4:13 PM [...] > > I don't think the feature of MAC passthrough address is maintained > > by Realtek. Especially, there is no uniform way about it. The > > different companies have to maintain their own ways by themselves. > > > > Realtek could provide the method of finding out the specific device > > for Lenovo. You could check USB OCP 0xD81F bit 3. For example, > > > > ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_MISC_1); > > if (tp->version == RTL_VER_09 && (ocp_data & BIT(3))) { > > /* This is the RTL8153B for Lenovo. */ > > } > > > > May I use the code from Realtek Outbox driver to implement the MAPT? > > If so, allow me to write a patch and send here to review. Sure. However, the outbox driver has a mistake. The mac_obj_name with "\\_SB.AMAC" is used by Dell. I think the device of Lenovo should use "\\MACA" only. Right? The easiest way is to set tp->lenovo_macpassthru for RTL8153BL. For example, ocp_data = ocp_read_byte(tp, MCU_TYPE_USB, USB_MISC_1); if (tp->version == RTL_VER_09 && (ocp_data & BIT(3))) tp->lenovo_macpassthru = 1; Best Regards, Hayes