diff options
author | stephen hemminger <shemminger@vyatta.com> | 2011-07-06 19:00:07 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-07 00:30:04 -0700 |
commit | 57d6fa37f56ca594a1becaf5b8774382ddb7d720 (patch) | |
tree | 9cde9afc3a478357a1f356b2f22751c588a06a4b /drivers/net/Kconfig | |
parent | c074304c2bcf4b45e2b7ff86011beaa035ee52fd (diff) | |
download | talos-obmc-linux-57d6fa37f56ca594a1becaf5b8774382ddb7d720.tar.gz talos-obmc-linux-57d6fa37f56ca594a1becaf5b8774382ddb7d720.zip |
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/Kconfig | 9 |
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 If unsure, say N. +config SKGE_GENESIS + bool "Support for older SysKonnect Genesis boards" + depends on SKGE + help + This enables support for the older and uncommon SysKonnect Genesis + chips, which support MII via an external transceiver, instead of + an internal one. Disabling this option will save some memory + by making code smaller. If unsure say Y. + config SKY2 tristate "SysKonnect Yukon2 support" depends on PCI |