Add the notifier for the change of mdio bus, since i wanna that a char device
represents a mii_bus not a mdio_device.
Signed-off-by: Wei Li
---
drivers/net/phy/mdio_bus.c | 21 -
include/linux/mdio.h | 1 +
include/linux/phy.h| 2 ++
3 files changed, 23
Add the char device interface of mdio bus, like what i2c-dev or spidev do.
They make it possible for user-space programs to access the bus directly.
Signed-off-by: Wei Li
---
drivers/net/phy/Kconfig| 10 ++
drivers/net/phy/Makefile | 1 +
drivers/net/phy/mdio-dev.c | 376