summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cadence/Kconfig
diff options
context:
space:
mode:
authorBartosz Folta <bfolta@cadence.com>2016-12-14 09:39:15 +0300
committerDavid S. Miller <davem@davemloft.net>2016-12-17 18:24:33 +0300
commit83a77e9ec4150ee4acc635638f7dedd9da523a26 (patch)
tree7c29f5c99b7221bda73f25ef00ada98ddfaf38d8 /drivers/net/ethernet/cadence/Kconfig
parent94acf164dc8f1184e8d0737be7125134c2701dbe (diff)
downloadlinux-83a77e9ec4150ee4acc635638f7dedd9da523a26.tar.xz
net: macb: Added PCI wrapper for Platform Driver.
There are hardware PCI implementations of Cadence GEM network controller. This patch will allow to use such hardware with reuse of existing Platform Driver. Signed-off-by: Bartosz Folta <bfolta@cadence.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence/Kconfig')
-rw-r--r--drivers/net/ethernet/cadence/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig
index f0bcb15d3fec..608bea171956 100644
--- a/drivers/net/ethernet/cadence/Kconfig
+++ b/drivers/net/ethernet/cadence/Kconfig
@@ -31,4 +31,13 @@ config MACB
To compile this driver as a module, choose M here: the module
will be called macb.
+config MACB_PCI
+ tristate "Cadence PCI MACB/GEM support"
+ depends on MACB && PCI && COMMON_CLK
+ ---help---
+ This is PCI wrapper for MACB driver.
+
+ To compile this driver as a module, choose M here: the module
+ will be called macb_pci.
+
endif # NET_CADENCE