Thread (6 messages) flat view 6 messages, 3 authors, 2023-01-29

Re: [PATCH 1/1] net: phy: meson-gxl: Add generic dummy stubs for MMD register access

From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-01-29 21:54:26
Also in: linux-amlogic, lkml, netdev

quoted
Hi Chris

This change in itself makes sense. But i wounder if we should also
change phy_init_eee(). It reads the EEE Ability register. The 2018
version of the standard indicates the top two bits are reserved and
should be zero. We also don't have any PHY which supports 100GBase-R
through to 100Base-TX. So a read of 0xffff suggests the PHY does not
support EEE and returning -EPROTONOSUPPORT would be good.
This seems like a good change to make in phy_init_eee().  I should be
able to do this.  Can this be done in a subsequent patch or does this
need to be present to land this meson specific PHY patch?
They are independent, submit them in whatever order you want. But
doing it first will make it easier to test it actually works.

      Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help