* [PATCH] smc91x: Add MigoR board support
@ 2008-02-08 9:49 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2008-02-08 9:49 UTC (permalink / raw)
To: netdev; +Cc: Magnus Damm, linux-sh
This patch adds MigoR board support to the smc91x driver.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-08 9:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08 9:49 [PATCH] smc91x: Add MigoR board support Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).