[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2c1d6de8d7284a92ae0317dcfc444d79@sphcmbx02.sunplus.com.tw>
Date: Mon, 29 Nov 2021 11:16:27 +0000
From: Wells Lu 呂芳騰 <wells.lu@...plus.com>
To: Andrew Lunn <andrew@...n.ch>
CC: Wells Lu <wellslutw@...il.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"kuba@...nel.org" <kuba@...nel.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"p.zabel@...gutronix.de" <p.zabel@...gutronix.de>,
Vincent Shih 施錕鴻
<vincent.shih@...plus.com>
Subject: RE: [PATCH v2 2/2] net: ethernet: Add driver for Sunplus SP7021
Hi Andrew,
Thanks a lot for explanation!.
> You need to not make any read on the PHY which Linux is driving.
> Configure the hardware to read on an address where there is no PHY.
>
I will modify code to set hardware external PHY address to 31.
In mii_read() or mii_write() functions, set hardware external PHY
address to real PHY address, so that mii read or write command can
be sent out by hardware. Set hardware external PHY address back to
31 after mii read or write command done.
Best regards,
Wells Lu
Powered by blists - more mailing lists