summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/xscale/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-04-25 03:30:38 +0300
committerDavid S. Miller <davem@davemloft.net>2021-04-26 04:27:13 +0300
commit95aafe911db602d19b00d2a88c3d54a84119f5dc (patch)
tree6651d20a4ab4913e16063218aa2442042634cf54 /drivers/net/ethernet/xscale/Kconfig
parent3e8047a98553e234a751f4f7f42d687ba98c0822 (diff)
downloadlinux-95aafe911db602d19b00d2a88c3d54a84119f5dc.tar.xz
net: ethernet: ixp4xx: Support device tree probing
This adds device tree probing to the IXP4xx ethernet driver. Add a platform data bool to tell us whether to register an MDIO bus for the device or not, as well as the corresponding NPE. We need to drop the memory region request as part of this since the OF core will request the memory for the device. Cc: Zoltan HERPAI <wigyori@uid0.hu> Cc: Raylynn Knight <rayknight@me.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xscale/Kconfig')
-rw-r--r--drivers/net/ethernet/xscale/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/xscale/Kconfig b/drivers/net/ethernet/xscale/Kconfig
index 7b83a6e5d894..468ffe3d1707 100644
--- a/drivers/net/ethernet/xscale/Kconfig
+++ b/drivers/net/ethernet/xscale/Kconfig
@@ -22,6 +22,7 @@ config IXP4XX_ETH
tristate "Intel IXP4xx Ethernet support"
depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR
select PHYLIB
+ select OF_MDIO if OF
select NET_PTP_CLASSIFY
help
Say Y here if you want to use built-in Ethernet ports