diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-03-29 21:25:21 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-10 22:53:20 -0400 |
commit | c1abc95b157fe4574919942018af143203ecca8e (patch) | |
tree | 8cf88016bb3ed7c11a387bd2a20a8c3ecbacbc5c | |
parent | 19fd61785a580c60cba900c5171bfadb57dd5056 (diff) |
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>
-rw-r--r-- | drivers/net/Kconfig | 2 | ||||
-rw-r--r-- | drivers/net/Makefile | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/Kconfig | 14 | ||||
-rw-r--r-- | drivers/net/ethernet/Makefile | 3 |
4 files changed, 20 insertions, 1 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 8d0314dbd946..5b95796942db 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -193,6 +193,8 @@ source "drivers/net/phy/Kconfig" | |||
193 | # Ethernet | 193 | # Ethernet |
194 | # | 194 | # |
195 | 195 | ||
196 | source "drivers/net/ethernet/Kconfig" | ||
197 | |||
196 | menuconfig NET_ETHERNET | 198 | menuconfig NET_ETHERNET |
197 | bool "Ethernet (10 or 100Mbit)" | 199 | bool "Ethernet (10 or 100Mbit)" |
198 | depends on !UML | 200 | depends on !UML |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index e1eca2ab505e..670b5141f0d7 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | # | 1 | # |
2 | # Makefile for the Linux network (ethercard) device drivers. | 2 | # Makefile for the Linux network device drivers. |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_MII) += mii.o | 5 | obj-$(CONFIG_MII) += mii.o |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig new file mode 100644 index 000000000000..d59e4f2aa93f --- /dev/null +++ b/drivers/net/ethernet/Kconfig | |||
@@ -0,0 +1,14 @@ | |||
1 | # | ||
2 | # Ethernet LAN device configuration | ||
3 | # | ||
4 | |||
5 | menuconfig ETHERNET | ||
6 | bool "Ethernet driver support" | ||
7 | depends on NET | ||
8 | default y | ||
9 | ---help--- | ||
10 | This section contains all the Ethernet device drivers. | ||
11 | |||
12 | if ETHERNET | ||
13 | |||
14 | endif # ETHERNET | ||
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile new file mode 100644 index 000000000000..0d21dda32038 --- /dev/null +++ b/drivers/net/ethernet/Makefile | |||
@@ -0,0 +1,3 @@ | |||
1 | # | ||
2 | # Makefile for the Linux network Ethernet device drivers. | ||
3 | # | ||