diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-02-04 22:02:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-07 16:51:46 +0100 |
commit | 648ea0134069cda7d4940f397bcc6901fb88752a (patch) | |
tree | 2e898d9c56777f31708c0292170eae5d76c13882 /drivers/net/phy/Makefile | |
parent | net: dsa: Add support for platform data (diff) | |
download | linux-648ea0134069cda7d4940f397bcc6901fb88752a.tar.xz linux-648ea0134069cda7d4940f397bcc6901fb88752a.zip |
net: phy: Allow pre-declaration of MDIO devices
Allow board support code to collect pre-declarations for MDIO devices by
registering them with mdiobus_register_board_info(). SPI and I2C buses
have a similar feature, we were missing this for MDIO devices, but this
is particularly useful for e.g: MDIO-connected switches which need to
provide their port layout (often board-specific) to a MDIO Ethernet
switch driver.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/Makefile')
-rw-r--r-- | drivers/net/phy/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile index 356859ac7c18..407b0b601ea8 100644 --- a/drivers/net/phy/Makefile +++ b/drivers/net/phy/Makefile @@ -1,6 +1,7 @@ # Makefile for Linux PHY drivers and MDIO bus drivers -libphy-y := phy.o phy_device.o mdio_bus.o mdio_device.o +libphy-y := phy.o phy_device.o mdio_bus.o mdio_device.o \ + mdio-boardinfo.o libphy-$(CONFIG_SWPHY) += swphy.o libphy-$(CONFIG_LED_TRIGGER_PHY) += phy_led_triggers.o |