skge: make support for old Genesis chips optional
commit57d6fa37f56ca594a1becaf5b8774382ddb7d720
authorstephen hemminger <shemminger@vyatta.com>
Wed, 6 Jul 2011 19:00:07 +0000 (6 19:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jul 2011 07:30:04 +0000 (7 00:30 -0700)
tree9cde9afc3a478357a1f356b2f22751c588a06a4b
parentc074304c2bcf4b45e2b7ff86011beaa035ee52fd
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>
drivers/net/Kconfig
drivers/net/skge.c