]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio-mux: add bus name to bus id
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 6 Mar 2022 14:22:34 +0000 (15:22 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Mar 2022 09:28:25 +0000 (10:28 +0100)
commit379bed87b75a059d80b93457483ebeb7fec6c24c
tree4588c317cc36144da17d73ee11d8535c15325eac
parent3168f0486de3833e02c1e5ee0091a445241fac48
net: mdio-mux: add bus name to bus id

In case of DT-configured systems it may be hard to identify the PHY
interrupt in the /proc/interrupts output. Therefore add the name to
the id to make clearer that it's about a device on a muxed mdio bus.
In my case:

Now: mdio_mux-0.e40908ff:08
Before: 0.e40908ff:08

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/00b4bb1e-98f9-b4e7-5549-e095a4701f66@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/mdio/mdio-mux.c