Explorar el Código

net: Allow dependancies of FDDI & Tokenring to be modular.

I noticed it isn't possible to build token ring & fddi drivers
without causing LLC, and a bunch of other things to be forced
built-in.  For distro kernels, this means carrying a chunk of
code in the vmlinuz, even if the user doesn't use those protocols.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Dave Jones hace 16 años
padre
commit
eb56092fc1
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      drivers/net/Kconfig
  2. 1 1
      drivers/net/tokenring/Kconfig

+ 1 - 1
drivers/net/Kconfig

@@ -2650,7 +2650,7 @@ config RIONET_RX_SIZE
 	default "128"
 	default "128"
 
 
 config FDDI
 config FDDI
-	bool "FDDI driver support"
+	tristate "FDDI driver support"
 	depends on (PCI || EISA || TC)
 	depends on (PCI || EISA || TC)
 	help
 	help
 	  Fiber Distributed Data Interface is a high speed local area network
 	  Fiber Distributed Data Interface is a high speed local area network

+ 1 - 1
drivers/net/tokenring/Kconfig

@@ -4,7 +4,7 @@
 
 
 # So far, we only have PCI, ISA, and MCA token ring devices
 # So far, we only have PCI, ISA, and MCA token ring devices
 menuconfig TR
 menuconfig TR
-	bool "Token Ring driver support"
+	tristate "Token Ring driver support"
 	depends on NETDEVICES && !UML
 	depends on NETDEVICES && !UML
 	depends on (PCI || ISA || MCA || CCW)
 	depends on (PCI || ISA || MCA || CCW)
 	select LLC
 	select LLC