Skip to contentSkip to conversation

smc911x: Add AP325RXA board support

PATCH Yusuke.Goda 1 participant 2 messages Jun 4, 2008 – Jun 5, 2008 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

This patch adds AP325RXA board support to scc911x driver.

---
 drivers/net/Kconfig   |    2 +-
 drivers/net/smc911x.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/Kconfig +1 -1
index dd0ec9e..b618d8e 100644
@@ -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 || SH_MAGIC_PANEL_R2 || SH_AP325RXA
 	help
 	  This is a driver for SMSC's LAN911x series of Ethernet chipsets
 	  including the new LAN9115, LAN9116, LAN9117, and LAN9118.
drivers/net/smc911x.h +1 -1
index 7defa63..d45be9c 100644
@@ -37,7 +37,7 @@
   #define SMC_USE_16BIT		0
   #define SMC_USE_32BIT		1
   #define SMC_IRQ_SENSE		IRQF_TRIGGER_FALLING
-#elif defined(CONFIG_SH_MAGIC_PANEL_R2)
+#elif defined(CONFIG_SH_MAGIC_PANEL_R2) || defined(CONFIG_SH_AP325RXA)
   #define SMC_USE_SH_DMA	0
   #define SMC_USE_16BIT		0
   #define SMC_USE_32BIT		1
Signature · 1 line
1.5.4.5
#2 lore raw
In reply to a message not in the archive

Hi Magnus-san

Quoted 10 lines · Magnus Damm

Hi Goda-san,

Quoted 1 line · Yusuke.Goda

This patch adds AP325RXA board support to scc911x driver.

I posted a few patches recently (smc911x: Request bus width using platform data) that are conflicting with your patch. Hopefully my patches will be included in 2.6.27, and at that point we can modify the ap32x board code to add board specific configuration to the smc911x platform data.

I'm sorry I did not watch your patch.
With your patch, my patch was not necessary.

Thanks,
Goda