Browse Source

drivers/net/ethernet: Add ethernet dir and config option

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>
Jeff Kirsher 14 years ago
parent
commit
c1abc95b15
4 changed files with 20 additions and 1 deletions
  1. 2 0
      drivers/net/Kconfig
  2. 1 1
      drivers/net/Makefile
  3. 14 0
      drivers/net/ethernet/Kconfig
  4. 3 0
      drivers/net/ethernet/Makefile

+ 2 - 0
drivers/net/Kconfig

@@ -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

+ 1 - 1
drivers/net/Makefile

@@ -1,5 +1,5 @@
 #
-# Makefile for the Linux network (ethercard) device drivers.
+# Makefile for the Linux network device drivers.
 #
 
 obj-$(CONFIG_MII) += mii.o

+ 14 - 0
drivers/net/ethernet/Kconfig

@@ -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

+ 3 - 0
drivers/net/ethernet/Makefile

@@ -0,0 +1,3 @@
+#
+# Makefile for the Linux network Ethernet device drivers.
+#