drivers/net/ethernet: Add ethernet dir and config option
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 30 Mar 2011 01:25:21 +0000 (18:25 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 11 Aug 2011 02:53:20 +0000 (19:53 -0700)
This is the initial patch to organize the drivers/net directory
structure and networking device driver config options.  This patch
does the following:
  - add drivers/net/ethernet/Kconfig
  - integrate the new files into the existing config

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/ethernet/Kconfig [new file with mode: 0644]
drivers/net/ethernet/Makefile [new file with mode: 0644]

index 8d0314d..5b95796 100644 (file)
@@ -193,6 +193,8 @@ source "drivers/net/phy/Kconfig"
 #      Ethernet
 #
 
+source "drivers/net/ethernet/Kconfig"
+
 menuconfig NET_ETHERNET
        bool "Ethernet (10 or 100Mbit)"
        depends on !UML
index e1eca2a..670b514 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Makefile for the Linux network (ethercard) device drivers.
+# Makefile for the Linux network device drivers.
 #
 
 obj-$(CONFIG_MII) += mii.o
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
new file mode 100644 (file)
index 0000000..d59e4f2
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# Ethernet LAN device configuration
+#
+
+menuconfig ETHERNET
+       bool "Ethernet driver support"
+       depends on NET
+       default y
+       ---help---
+         This section contains all the Ethernet device drivers.
+
+if ETHERNET
+
+endif # ETHERNET
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
new file mode 100644 (file)
index 0000000..0d21dda
--- /dev/null
@@ -0,0 +1,3 @@
+#
+# Makefile for the Linux network Ethernet device drivers.
+#