aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-07-06 15:00:07 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-07 03:30:04 -0400
commit57d6fa37f56ca594a1becaf5b8774382ddb7d720 (patch)
tree9cde9afc3a478357a1f356b2f22751c588a06a4b /drivers/net/Kconfig
parentc074304c2bcf4b45e2b7ff86011beaa035ee52fd (diff)
skge: make support for old Genesis chips optional
The GENESIS boards are really old PCI-X boards that are rare. Marvell has dropped support for this hardware and there is no reason for most users to have to have this code. Rather than riddling code with ifdef's make one macro and let the compiler do the dead code elimination. This saves about 15% of the text size. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Kconfig')
-rw-r--r--drivers/net/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 4d68a264df9b..b1e67d683496 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -2303,6 +2303,15 @@ config SKGE_DEBUG
2303 2303
2304 If unsure, say N. 2304 If unsure, say N.
2305 2305
2306config SKGE_GENESIS
2307 bool "Support for older SysKonnect Genesis boards"
2308 depends on SKGE
2309 help
2310 This enables support for the older and uncommon SysKonnect Genesis
2311 chips, which support MII via an external transceiver, instead of
2312 an internal one. Disabling this option will save some memory
2313 by making code smaller. If unsure say Y.
2314
2306config SKY2 2315config SKY2
2307 tristate "SysKonnect Yukon2 support" 2316 tristate "SysKonnect Yukon2 support"
2308 depends on PCI 2317 depends on PCI