diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2021-04-25 02:30:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-25 18:27:13 -0700 |
commit | 95aafe911db602d19b00d2a88c3d54a84119f5dc (patch) | |
tree | 6651d20a4ab4913e16063218aa2442042634cf54 /drivers/net/ethernet/xscale/Kconfig | |
parent | 3e8047a98553e234a751f4f7f42d687ba98c0822 (diff) |
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/Kconfig | 1 |
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 |