Re: [net-next RFC PATCH 6/6] net: phy: bcm7xxx: rework phy_driver table to new multiple PHY ID format

From
Christian Marangi <ansuelsmth@gmail.com>
Date
2024-02-19 16:41:17
Also in
lkml
Reply to
Florian Fainelli, 2024-02-19
On Sun, Feb 18, 2024 at 08:26:29PM -0800, Florian Fainelli wrote:

On 2/18/2024 11:00 AM, Christian Marangi wrote:
quoted
Rework bcm7xxx PHY driver table to new multiple PHY format
implementation to reduce code duplication and final size of the compiled
module.
I like the idea of sharing as much code as possible and creating a smaller
module, however by changing the name, you are creating an user-space ABI
change, we rely upon the exact PHY name being shown under
/sys/class/mdio_bus/*/* and this change will break that.
Thanks for putting this concern on the table but isn't that generated by
dev_set_name and PHY_ID_FMT? from bus->id and addr?

Can't find reference of the name entry in sysfs. Am I missing something?
The name seems to be used only by logging to print info/err/warn.

-- 
	Ansuel
Thread (21 messages) 21 messages, 4 authors, last reply 2024-02-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help