OSDN Git Service

net: smc911x: only enable for mpr2 on sh.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 28 Nov 2007 09:24:59 +0000 (18:24 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 1 Dec 2007 21:32:32 +0000 (16:32 -0500)
The smc911x.h is a bit of a mess, not supporting any sort of generic
configuration. For the moment only ARCH_PXA and SH_MAGIC_PANEL_R2 have
suitable definitions, so we reflect this in the Kconfig also.

While there are other SH boards that will likely turn this on in the
2.6.25 time frame, it's not worth trying to stub around at the moment.

Fixes up the allmodconfig build, as noted by akpm.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/Kconfig

index 1437b37..d9107e5 100644 (file)
@@ -926,7 +926,7 @@ config SMC911X
        tristate "SMSC LAN911[5678] support"
        select CRC32
        select MII
-       depends on ARCH_PXA || SUPERH
+       depends on ARCH_PXA || SH_MAGIC_PANEL_R2
        help
          This is a driver for SMSC's LAN911x series of Ethernet chipsets
          including the new LAN9115, LAN9116, LAN9117, and LAN9118.