summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2017-09-05 15:20:44 -0500
committerTom Rini <trini@konsulko.com>2017-10-20 21:40:26 -0400
commit8daec2d9d3ff2d7ff85c203c0e9d07f5278b74f4 (patch)
tree70bbfcd5b386be214592d065cb233c0d1d35058c /drivers
parent0a9ef45158d586017839d4b6fccd7f8f16672156 (diff)
net: Add SMC911X driver to Kconfig, convert
We add the various SMC91XX symbols to drivers/net/Kconfig and then this converts the following to Kconfig: CONFIG_SMC911X CONFIG_SMC911X_BASE CONFIG_SMC911X_16_BIT CONFIG_SMC911X_32_BIT Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Apply to the rest of the tree, re-squash old and new patch] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/Kconfig28
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index d67927cd3b..c1ce54ecbb 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -211,6 +211,34 @@ config RTL8169
This driver supports Realtek 8169 series gigabit ethernet family of
PCI/PCIe chipsets/adapters.
+config SMC911X
+ bool "SMSC LAN911x and LAN921x controller driver"
+
+if SMC911X
+
+config SMC911X_BASE
+ hex "SMC911X Base Address"
+ help
+ Define this to hold the physical address
+ of the device (I/O space)
+
+choice
+ prompt "SMC911X bus width"
+ default SMC911X_16_BIT
+
+config SMC911X_32_BIT
+ bool "Enable 32-bit interface"
+
+config SMC911X_16_BIT
+ bool "Enable 16-bit interface"
+ help
+ Define this if data bus is 16 bits. If your processor
+ automatically converts one 32 bit word to two 16 bit
+ words you may also try CONFIG_SMC911X_32_BIT.
+
+endchoice
+endif #SMC911X
+
config SUN7I_GMAC
bool "Enable Allwinner GMAC Ethernet support"
help