smc91x.h: add config for Nomadik evaluation kit
Subsystems (2)
PATCH v2 1/1 smc91x.h: add config for Nomadik evaluation kit
Signed-off-by Alessandro Rubini <[email protected]>
Acked-by Andrea Gallo <[email protected]>
---
[sorry for the repost: I used a non-subscribed address and forgot to Cc: company people, V2 is otherwise the same as V1]
Base support for the Nomadik SoC, by ST-Ericsson, is already included in the "nomadik" branch of rmk's tree. This one-liner enables the 16-bit-only configuration for the chip, as the default are not working for us
drivers/net/smc91x.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/smc91x.h +2 -1
@@ -186,7 +186,8 @@ static inline void SMC_outw(u16 val, void __iomem *ioaddr, int reg)#define SMC_outsb (a, r, p, l) writesb((a) + (r), p, (l))#define SMC_IRQ_FLAGS (-1)/* from resource */ -#elif defined(CONFIG_MACH_LOGICPD_PXA270 ) +#elif defined(CONFIG_MACH_LOGICPD_PXA270 ) \ + || defined(CONFIG_MACH_NOMADIK_8815NHK )#define SMC_CAN_USE_8BIT 0#define SMC_CAN_USE_16BIT 1
Signature · 1 line
1.6.0.2
From: Alessandro Rubini <[email protected]>
Date: Thu, 23 Jul 2009 00:49:08 +0200
Quoted 2 lines
Signed-off-by Alessandro Rubini <[email protected]>Acked-by Andrea Gallo <[email protected]>
Applied, thanks.