Commit 0fa28877 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller

net: HNS: fix MDIO dependencies

The newly introduced HNS_MDIO Kconfig symbol selects 'MDIO', but
that is the wrong symbol as the code used by this driver is
provided by PHYLIB rather than the MDIO driver. Also, there is
no need to make this driver user selectable, because it is already
selected by all drivers that need it.

This changes the Kconfig file to select the correct library, and
to make the option silent.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 5b904d39 ("net: add Hisilicon Network Subsystem MDIO support")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c577e59e
...@@ -24,7 +24,6 @@ config HIX5HD2_GMAC ...@@ -24,7 +24,6 @@ config HIX5HD2_GMAC
config HIP04_ETH config HIP04_ETH
tristate "HISILICON P04 Ethernet support" tristate "HISILICON P04 Ethernet support"
select PHYLIB
select MARVELL_PHY select MARVELL_PHY
select MFD_SYSCON select MFD_SYSCON
select HNS_MDIO select HNS_MDIO
...@@ -33,8 +32,8 @@ config HIP04_ETH ...@@ -33,8 +32,8 @@ config HIP04_ETH
want to use the internal ethernet then you should answer Y to this. want to use the internal ethernet then you should answer Y to this.
config HNS_MDIO config HNS_MDIO
tristate "Hisilicon HNS MDIO device Support" tristate
select MDIO select PHYLIB
---help--- ---help---
This selects the HNS MDIO support. It is needed by HNS_DSAF to access This selects the HNS MDIO support. It is needed by HNS_DSAF to access
the PHY the PHY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment