Thread (11 messages) flat view 11 messages, 6 authors, 2021-03-26

RE: [PATCH net V2 1/1] net: phy: fix invalid phy id when probe using C22

From: Wong, Vee Khee <hidden>
Date: 2021-03-22 12:54:45
Also in: lkml, netdev

On Fri, Mar 19, 2021 at 04:56PM +0800, Russell King - ARM Linux admin wrote:
On Fri, Mar 19, 2021 at 08:40:45AM +0100, Heiner Kallweit wrote:
quoted
Is there a specific reason why c22 is probed first? Reversing the order
would solve the issue we speak about here.
c45-probing of c22-only PHY's shouldn't return false positives
(at least at a first glance).
That would likely cause problems for the I2f MDIO driver, since a
C45 read is indistinguishable from a C22 write on the I2C bus.
Hi Russell,

STMMAC is capable of supporting external PHYs that accessible using 
C22 or C45. 

Accordng to patch [1] send earlier, it should solve the problem.

As for any other drivers, if it is not using MDIOBUS_C45_C22, 
It should still work as it is by using MDIOBUS_C22.

[1] https://lkml.org/lkml/2020/11/9/443
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help