Commit feb5d98e authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller

enetc: remove "depends on (ARCH_LAYERSCAPE || COMPILE_TEST)"

ARCH_LAYERSCAPE isn't needed for this driver, it builds and
sends/receives traffic without this config option just fine.
Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: default avatarClaudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5c4b513e
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
config FSL_ENETC config FSL_ENETC
tristate "ENETC PF driver" tristate "ENETC PF driver"
depends on PCI && PCI_MSI && (ARCH_LAYERSCAPE || COMPILE_TEST) depends on PCI && PCI_MSI
select FSL_ENETC_MDIO select FSL_ENETC_MDIO
select PHYLIB select PHYLIB
help help
...@@ -13,7 +13,7 @@ config FSL_ENETC ...@@ -13,7 +13,7 @@ config FSL_ENETC
config FSL_ENETC_VF config FSL_ENETC_VF
tristate "ENETC VF driver" tristate "ENETC VF driver"
depends on PCI && PCI_MSI && (ARCH_LAYERSCAPE || COMPILE_TEST) depends on PCI && PCI_MSI
select PHYLIB select PHYLIB
help help
This driver supports NXP ENETC gigabit ethernet controller PCIe This driver supports NXP ENETC gigabit ethernet controller PCIe
...@@ -23,7 +23,7 @@ config FSL_ENETC_VF ...@@ -23,7 +23,7 @@ config FSL_ENETC_VF
config FSL_ENETC_MDIO config FSL_ENETC_MDIO
tristate "ENETC MDIO driver" tristate "ENETC MDIO driver"
depends on PCI && (ARCH_LAYERSCAPE || COMPILE_TEST) depends on PCI
help help
This driver supports NXP ENETC Central MDIO controller as a PCIe This driver supports NXP ENETC Central MDIO controller as a PCIe
physical function (PF) device. physical function (PF) device.
......
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