@@ -28,6 +28,20 @@ menuconfig NETDEVICES
# that for each of the symbols.
if NETDEVICES
+config NETDEVICES_LEGACY
+ default y
+ bool "Legacy 10+ year old drivers (10Mbit, ISA, EISA, MCA etc.)"
+ ---help---
+ There are a lot of drivers that exist for really old network
+ hardware that have long since been out of production, and
+ are not really in active use by anyone with hardware that is
+ less than ten years old. Unless you are trying to use really
+ old hardware, you can say no here.
+
+if NETDEVICES_LEGACY
+source "drivers/net/legacy/Kconfig"
+endif
+
config IFB
tristate "Intermediate Functional Block support"
depends on NET_CLS_ACT
@@ -299,3 +299,4 @@ obj-$(CONFIG_CAIF) += caif/
obj-$(CONFIG_OCTEON_MGMT_ETHERNET) += octeon/
obj-$(CONFIG_PCH_GBE) += pch_gbe/
+obj-$(CONFIG_NETDEVICES_LEGACY) += legacy/
new file mode 100644
@@ -0,0 +1,2 @@
+
+# Legacy drivers for ancient ISA/EISA bus devices and the like.
new file mode 100644
@@ -0,0 +1,3 @@
+#
+# Makefile for the Linux legacy network device drivers.
+#
There are lots of drivers that date back to the early 1990's when Linux was started, and they correspond to hardware and bus technologies that have largely disappeared from in-use hardware over 10 years ago. There is no need to have these drivers polluting the namespace in the top level drivers directory any longer; relocation to a subdirectory is long overdue. Start by creating this new home for these drivers so that they can be targeted and relocated. By leaving the default to include the legacy/Kconfig, we ensure people who have existing stores of their own .config files will not have drivers silently dropped from their builds. Since the legacy drivers have their probe ordering defined in the Space.c file, we don't have to strictly maintain any link order in moving things from Makefile to legacy/Makefile. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> --- drivers/net/Kconfig | 14 ++++++++++++++ drivers/net/Makefile | 1 + drivers/net/legacy/Kconfig | 2 ++ drivers/net/legacy/Makefile | 3 +++ 4 files changed, 20 insertions(+), 0 deletions(-) create mode 100644 drivers/net/legacy/Kconfig create mode 100644 drivers/net/legacy/Makefile