[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e52f8155-61a8-0cea-b96c-a05b83cdfff9@canonical.com>
Date: Thu, 27 Jan 2022 16:13:24 +0800
From: Aaron Ma <aaron.ma@...onical.com>
To: Hayes Wang <hayeswang@...ltek.com>,
"Limonciello, Mario" <Mario.Limonciello@....com>,
Henning Schild <henning.schild@...mens.com>
Cc: Jakub Kicinski <kuba@...nel.org>,
Kai-Heng Feng <kai.heng.feng@...onical.com>,
Andrew Lunn <andrew@...n.ch>, Oliver Neukum <oneukum@...e.com>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>,
"tiwai@...e.de" <tiwai@...e.de>
Subject: Re: [PATCH 1/3 v3] net: usb: r8152: Check used MAC passthrough
address
On 1/27/22 16:06, Hayes Wang wrote:
> 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.
Thanks,
Aaron
> Best Regards,
> Hayes
Powered by blists - more mailing lists