netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Make FC, FDDI, HIPPI and TR tristate
@ 2007-12-28 23:45 Jan Engelhardt
  2007-12-29  0:09 ` Adrian Bunk
  2007-12-29  8:18 ` David Miller
  0 siblings, 2 replies; 6+ messages in thread
From: Jan Engelhardt @ 2007-12-28 23:45 UTC (permalink / raw)
  To: jgarzik; +Cc: netdev

Turn CONFIG_FC, CONFIG_FDDI, CONFIG_HIPPI and CONFIG_TR into tristate
so they can be built as modules. This will allow CONFIG_LLC to be
built as a module too, overall reducing the core kernel image size.
    
$ size vmlinux.previous vmlinux
   text    data     bss     dec     hex filename
2805040  266008  380928 3451976  34ac48 vmlinux.previous
2794603  265620  380928 3441151  3481ff vmlinux

$ l vmlinux.previous vmlinux
-rwxr-xr-x 1 jengelh users 5154214 Dec 29 00:02 vmlinux.previous
-rwxr-xr-x 1 jengelh users 5135974 Dec 29 00:39 vmlinux

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index d9107e5..934f678 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -2638,7 +2638,7 @@ config RIONET_RX_SIZE
 	default "128"
 
 config FDDI
-	bool "FDDI driver support"
+	tristate "FDDI driver support"
 	depends on (PCI || EISA || TC)
 	help
 	  Fiber Distributed Data Interface is a high speed local area network
@@ -2708,7 +2708,7 @@ config SKFP
 	  will be called skfp.  This is recommended.
 
 config HIPPI
-	bool "HIPPI driver support (EXPERIMENTAL)"
+	tristate "HIPPI driver support (EXPERIMENTAL)"
 	depends on EXPERIMENTAL && INET && PCI
 	help
 	  HIgh Performance Parallel Interface (HIPPI) is a 800Mbit/sec and
@@ -3009,7 +3009,7 @@ config SLIP_MODE_SLIP6
 	  over the async ports of a Camtec JNT Pad. If unsure, say N.
 
 config NET_FC
-	bool "Fibre Channel driver support"
+	tristate "Fibre Channel driver support"
 	depends on SCSI && PCI
 	help
 	  Fibre Channel is a high speed serial protocol mainly used to connect
diff --git a/drivers/net/tokenring/Kconfig b/drivers/net/tokenring/Kconfig
index e6b2e06..c4137b0 100644
--- a/drivers/net/tokenring/Kconfig
+++ b/drivers/net/tokenring/Kconfig
@@ -4,7 +4,7 @@
 
 # So far, we only have PCI, ISA, and MCA token ring devices
 menuconfig TR
-	bool "Token Ring driver support"
+	tristate "Token Ring driver support"
 	depends on NETDEVICES && !UML
 	depends on (PCI || ISA || MCA || CCW)
 	select LLC


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-12-29  8:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-28 23:45 [PATCH] Make FC, FDDI, HIPPI and TR tristate Jan Engelhardt
2007-12-29  0:09 ` Adrian Bunk
2007-12-29  0:41   ` Jan Engelhardt
2007-12-29  0:52     ` Adrian Bunk
2007-12-29  8:19     ` David Miller
2007-12-29  8:18 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).