Skip to content

Commit

Permalink
drivers/net/ethernet: Add ethernet dir and config option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Kirsher committed Aug 11, 2011
1 parent 19fd617 commit c1abc95
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
2 changes: 2 additions & 0 deletions drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Makefile for the Linux network (ethercard) device drivers.
# Makefile for the Linux network device drivers.
#

obj-$(CONFIG_MII) += mii.o
Expand Down
14 changes: 14 additions & 0 deletions drivers/net/ethernet/Kconfig
Original file line number Diff line number Diff line change
@@ -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 changes: 3 additions & 0 deletions drivers/net/ethernet/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#
# Makefile for the Linux network Ethernet device drivers.
#

0 comments on commit c1abc95

Please sign in to comment.