Commit e40562ab authored by Alexander Sverdlin's avatar Alexander Sverdlin Committed by David S. Miller

net: cavium: Add fine-granular dependencies on PCI

Add dependencies on PCI where necessary.

Fixes: 7e2bc7fb ("net: cavium: Drop dependency of NET_VENDOR_CAVIUM on PCI")
Signed-off-by: default avatarAlexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0838a4ef
...@@ -15,7 +15,7 @@ if NET_VENDOR_CAVIUM ...@@ -15,7 +15,7 @@ if NET_VENDOR_CAVIUM
config THUNDER_NIC_PF config THUNDER_NIC_PF
tristate "Thunder Physical function driver" tristate "Thunder Physical function driver"
depends on 64BIT depends on 64BIT && PCI
select THUNDER_NIC_BGX select THUNDER_NIC_BGX
---help--- ---help---
This driver supports Thunder's NIC physical function. This driver supports Thunder's NIC physical function.
...@@ -28,13 +28,13 @@ config THUNDER_NIC_PF ...@@ -28,13 +28,13 @@ config THUNDER_NIC_PF
config THUNDER_NIC_VF config THUNDER_NIC_VF
tristate "Thunder Virtual function driver" tristate "Thunder Virtual function driver"
imply CAVIUM_PTP imply CAVIUM_PTP
depends on 64BIT depends on 64BIT && PCI
---help--- ---help---
This driver supports Thunder's NIC virtual function This driver supports Thunder's NIC virtual function
config THUNDER_NIC_BGX config THUNDER_NIC_BGX
tristate "Thunder MAC interface driver (BGX)" tristate "Thunder MAC interface driver (BGX)"
depends on 64BIT depends on 64BIT && PCI
select PHYLIB select PHYLIB
select MDIO_THUNDER select MDIO_THUNDER
select THUNDER_NIC_RGX select THUNDER_NIC_RGX
...@@ -44,7 +44,7 @@ config THUNDER_NIC_BGX ...@@ -44,7 +44,7 @@ config THUNDER_NIC_BGX
config THUNDER_NIC_RGX config THUNDER_NIC_RGX
tristate "Thunder MAC interface driver (RGX)" tristate "Thunder MAC interface driver (RGX)"
depends on 64BIT depends on 64BIT && PCI
select PHYLIB select PHYLIB
select MDIO_THUNDER select MDIO_THUNDER
---help--- ---help---
...@@ -53,7 +53,7 @@ config THUNDER_NIC_RGX ...@@ -53,7 +53,7 @@ config THUNDER_NIC_RGX
config CAVIUM_PTP config CAVIUM_PTP
tristate "Cavium PTP coprocessor as PTP clock" tristate "Cavium PTP coprocessor as PTP clock"
depends on 64BIT depends on 64BIT && PCI
imply PTP_1588_CLOCK imply PTP_1588_CLOCK
default y default y
---help--- ---help---
...@@ -65,7 +65,7 @@ config CAVIUM_PTP ...@@ -65,7 +65,7 @@ config CAVIUM_PTP
config LIQUIDIO config LIQUIDIO
tristate "Cavium LiquidIO support" tristate "Cavium LiquidIO support"
depends on 64BIT depends on 64BIT && PCI
depends on MAY_USE_DEVLINK depends on MAY_USE_DEVLINK
imply PTP_1588_CLOCK imply PTP_1588_CLOCK
select FW_LOADER select FW_LOADER
......
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