mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 07:02:29 -04:00
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:
@@ -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
|
||||
|
||||
14
drivers/net/ethernet/Kconfig
Normal file
14
drivers/net/ethernet/Kconfig
Normal file
@@ -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
drivers/net/ethernet/Makefile
Normal file
3
drivers/net/ethernet/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
#
|
||||
# Makefile for the Linux network Ethernet device drivers.
|
||||
#
|
||||
Reference in New Issue
Block a user