Hi all,
This patch series allows building support for MDIO bus controllers which
are sometimes usable and necessary in cases where there are no Ethernet PHYs.
Changes in v3:
- corrected of_mdio compile guards for prototypes vs. stubs
- added a missing OF_MDIO dependency for MDIO_BCM_UNIMAC
- fixed Kbuild bot reported errors against mdio-bitbang
Changes in v2:
- implement Russell's feedback
- solve the circular dependency in the CONFIG_MDIO_DEVICE + CONFIG_PHYLIB case
Florian Fainelli (3):
of_mdio: Correct check against CONFIG_OF
net: phy: MDIO_BCM_UNIMAC should depend on OF_MDIO
net: phy: Allow splitting MDIO bus/device support from PHYs
drivers/net/Makefile | 2 +-
drivers/net/phy/Kconfig | 62 +++++++++++++++++++++++-----------------
drivers/net/phy/Makefile | 13 +++++++--
drivers/net/phy/mdio-boardinfo.c | 1 +
drivers/net/phy/mdio_bus.c | 9 ++++++
include/linux/of_mdio.h | 4 +--
include/linux/phy.h | 21 ++++++++++++--
7 files changed, 79 insertions(+), 33 deletions(-)
--
2.9.3