mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
19fd61785a
commit
c1abc95b15
|
@ -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,5 +1,5 @@
|
|||
#
|
||||
# Makefile for the Linux network (ethercard) device drivers.
|
||||
# Makefile for the Linux network device drivers.
|
||||
#
|
||||
|
||||
obj-$(CONFIG_MII) += mii.o
|
||||
|
|
|
@ -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
|
|
@ -0,0 +1,3 @@
|
|||
#
|
||||
# Makefile for the Linux network Ethernet device drivers.
|
||||
#
|
Loading…
Reference in New Issue