summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro/Kconfig
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-05-16 11:05:19 +0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-12 03:29:01 +0400
commit7ac6653a085b41405758bc16b2525db56ee0a23f (patch)
tree1a3fc878f338778dd8a9ee8b06dab899a4ec5a87 /drivers/net/ethernet/stmicro/Kconfig
parentef7f54297df683665145859501f63c801f6c7ea8 (diff)
downloadlinux-7ac6653a085b41405758bc16b2525db56ee0a23f.tar.xz
stmmac: Move the STMicroelectronics driver
Move the STMicroelectronics driver into driver/net/ethernet/stmicro/ and make the necessary Kconfig and Makefile changes. CC: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/stmicro/Kconfig')
-rw-r--r--drivers/net/ethernet/stmicro/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/Kconfig b/drivers/net/ethernet/stmicro/Kconfig
new file mode 100644
index 000000000000..e40df6433860
--- /dev/null
+++ b/drivers/net/ethernet/stmicro/Kconfig
@@ -0,0 +1,22 @@
+#
+# STMicroelectronics device configuration
+#
+
+config NET_VENDOR_STMICRO
+ bool "STMicroelectronics devices"
+ depends on HAS_IOMEM
+ ---help---
+ If you have a network (Ethernet) card belonging to this class, say Y
+ and read the Ethernet-HOWTO, available from
+ <http://www.tldp.org/docs.html#howto>.
+
+ Note that the answer to this question doesn't directly affect the
+ kernel: saying N will just cause the configurator to skip all
+ the questions about STMicroelectronics cards. If you say Y, you will
+ be asked for your specific card in the following questions.
+
+if NET_VENDOR_STMICRO
+
+source "drivers/net/ethernet/stmicro/stmmac/Kconfig"
+
+endif # NET_VENDOR_STMICRO