]> git.baikalelectronics.ru Git - kernel.git/commit
skge: make support for old Genesis chips optional
authorstephen hemminger <shemminger@vyatta.com>
Wed, 6 Jul 2011 19:00:07 +0000 (19:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jul 2011 07:30:04 +0000 (00:30 -0700)
commitb8551c3155f73598aadfecca961930b1bbc0b190
tree9cde9afc3a478357a1f356b2f22751c588a06a4b
parentdd4151ed71032a61d73bfb8e1de3c8d1557c925b
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