aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <magnus.damm@gmail.com>2008-02-22 05:55:33 -0500
committerJeff Garzik <jeff@garzik.org>2008-03-17 07:49:27 -0400
commit56872167e7339c3afba2fbeb8aa2ce75b93fd991 (patch)
tree799a7f57f9584ac40504fd3fe9e9326d819b5873
parent8a214c125a06e974b6fba7c38fb06297ab449d3a (diff)
smc91x: make superh use default config V2
Removes superh board specific configuration from the header file. These boards will instead be configured using platform data. Signed-off-by: Magnus Damm <damm@igel.co.jp> Acked-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/smc91x.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h
index c4f2f469cd63..69e97a1cb1c4 100644
--- a/drivers/net/smc91x.h
+++ b/drivers/net/smc91x.h
@@ -292,36 +292,6 @@ SMC_outw(u16 val, void __iomem *ioaddr, int reg)
292#define SMC_insw(a, r, p, l) insw((a) + (r), p, l) 292#define SMC_insw(a, r, p, l) insw((a) + (r), p, l)
293#define SMC_outsw(a, r, p, l) outsw((a) + (r), p, l) 293#define SMC_outsw(a, r, p, l) outsw((a) + (r), p, l)
294 294
295#elif defined(CONFIG_SUPERH)
296
297#ifdef CONFIG_SOLUTION_ENGINE
298#define SMC_IRQ_FLAGS (0)
299#define SMC_CAN_USE_8BIT 0
300#define SMC_CAN_USE_16BIT 1
301#define SMC_CAN_USE_32BIT 0
302#define SMC_IO_SHIFT 0
303#define SMC_NOWAIT 1
304
305#define SMC_inw(a, r) inw((a) + (r))
306#define SMC_outw(v, a, r) outw(v, (a) + (r))
307#define SMC_insw(a, r, p, l) insw((a) + (r), p, l)
308#define SMC_outsw(a, r, p, l) outsw((a) + (r), p, l)
309
310#else /* BOARDS */
311
312#define SMC_CAN_USE_8BIT 1
313#define SMC_CAN_USE_16BIT 1
314#define SMC_CAN_USE_32BIT 0
315
316#define SMC_inb(a, r) inb((a) + (r))
317#define SMC_inw(a, r) inw((a) + (r))
318#define SMC_outb(v, a, r) outb(v, (a) + (r))
319#define SMC_outw(v, a, r) outw(v, (a) + (r))
320#define SMC_insw(a, r, p, l) insw((a) + (r), p, l)
321#define SMC_outsw(a, r, p, l) outsw((a) + (r), p, l)
322
323#endif /* BOARDS */
324
325#elif defined(CONFIG_M32R) 295#elif defined(CONFIG_M32R)
326 296
327#define SMC_CAN_USE_8BIT 0 297#define SMC_CAN_USE_8BIT 0