Subject: [PATCH] smc91x: Add MigoR board support

From: Magnus Damm <[email-masked]>
Date: Fri, 08 Feb 2008 18:49:27 +0900

This patch adds MigoR board support to the smc91x driver.

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

 drivers/net/smc91x.h |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

--- 0001/drivers/net/smc91x.h
+++ work/drivers/net/smc91x.h	2008-02-06 23:13:55.000000000 +0900
@@ -306,6 +306,20 @@ SMC_outw(u16 val, void __iomem *ioaddr, 
 #define SMC_insw(a, r, p, l)   insw((a) + (r), p, l)
 #define SMC_outsw(a, r, p, l)  outsw((a) + (r), p, l)
 
+#elif defined(CONFIG_SH_MIGOR)
+
+#define SMC_IRQ_FLAGS		(-1)
+#define SMC_CAN_USE_8BIT	0
+#define SMC_CAN_USE_16BIT	1
+#define SMC_CAN_USE_32BIT	0
+#define SMC_IO_SHIFT		0
+#define SMC_NOWAIT		1
+
+#define SMC_inw(a, r)		inw((a) + (r))
+#define SMC_outw(v, a, r)	outw(v, (a) + (r))
+#define SMC_insw(a, r, p, l)	insw((a) + (r), p, l)
+#define SMC_outsw(a, r, p, l)	outsw((a) + (r), p, l)
+
 #else /* BOARDS */
 
 #define SMC_CAN_USE_8BIT       1