Explorar o código

net: smc911x: only enable for mpr2 on sh.

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>
Paul Mundt %!s(int64=17) %!d(string=hai) anos
pai
achega
0313d9884f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/net/Kconfig

+ 1 - 1
drivers/net/Kconfig

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