Subject: [PATCH 05/05] smc911x: SuperH architecture support

From: Magnus Damm <[email-masked]>
Date: Mon, 02 Jun 2008 20:37:48 +0900

Enable the smc911x driver for the SuperH architecture.
While at it remove the unused SMC_USE_SH_DMA definition.

Signed-off-by: Magnus Damm <[email-masked]>
---

 drivers/net/Kconfig   |    2 +-
 drivers/net/smc911x.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

--- 0001/drivers/net/Kconfig
+++ work/drivers/net/Kconfig	2008-06-02 18:36:29.000000000 +0900
@@ -955,7 +955,7 @@ config SMC911X
 	tristate "SMSC LAN911[5678] support"
 	select CRC32
 	select MII
-	depends on ARCH_PXA || SH_MAGIC_PANEL_R2
+	depends on ARCH_PXA || SUPERH
 	help
 	  This is a driver for SMSC's LAN911x series of Ethernet chipsets
 	  including the new LAN9115, LAN9116, LAN9117, and LAN9118.
--- 0005/drivers/net/smc911x.h
+++ work/drivers/net/smc911x.h	2008-06-02 18:58:10.000000000 +0900
@@ -39,7 +39,6 @@
   #define SMC_USE_32BIT		1
   #define SMC_IRQ_SENSE		IRQF_TRIGGER_FALLING
 #elif defined(CONFIG_SH_MAGIC_PANEL_R2)
-  #define SMC_USE_SH_DMA	0
   #define SMC_USE_16BIT		0
   #define SMC_USE_32BIT		1
   #define SMC_IRQ_SENSE		IRQF_TRIGGER_LOW