summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/Kconfig
diff options
context:
space:
mode:
authorAndy Shevchenko2014-11-10 11:38:59 +0100
committerDavid S. Miller2014-11-11 20:34:39 +0100
commitb2e2f0c779fefede3a871781c8827bd8e76c7c0f (patch)
tree1ccbaf7b6fa0a4549e531bacdbc101d1e60043b8 /drivers/net/ethernet/stmicro/stmmac/Kconfig
parentnet: Convert LIMIT_NETDEBUG to net_dbg_ratelimited (diff)
downloadkernel-qcow2-linux-b2e2f0c779fefede3a871781c8827bd8e76c7c0f.tar.gz
kernel-qcow2-linux-b2e2f0c779fefede3a871781c8827bd8e76c7c0f.tar.xz
kernel-qcow2-linux-b2e2f0c779fefede3a871781c8827bd8e76c7c0f.zip
stmmac: split to core library and probe drivers
Instead of registering the platform and PCI drivers in one module let's move necessary bits to where it belongs. During this procedure we convert the module registration part to use module_*_driver() macros which makes code simplier. >From now on the driver consists three parts: core library, PCI, and platform drivers. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/Kconfig')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig
index 33b85bae6c21..7d3af190be55 100644
--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
+++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
@@ -14,7 +14,7 @@ config STMMAC_ETH
if STMMAC_ETH
config STMMAC_PLATFORM
- bool "STMMAC Platform bus support"
+ tristate "STMMAC Platform bus support"
depends on STMMAC_ETH
default y
---help---
@@ -27,7 +27,7 @@ config STMMAC_PLATFORM
If unsure, say N.
config STMMAC_PCI
- bool "STMMAC PCI bus support"
+ tristate "STMMAC PCI bus support"
depends on STMMAC_ETH && PCI
---help---
This is to select the Synopsys DWMAC available on PCI devices,