[PATCH 03/04] smc91x: make superh use default config

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Magnus Damm
Date: Wednesday, February 20, 2008 - 2:58 am

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>
---

 drivers/net/smc91x.h |   30 ------------------------------
 1 file changed, 30 deletions(-)

--- 0018/drivers/net/smc91x.h
+++ work/drivers/net/smc91x.h	2008-02-20 17:09:28.000000000 +0900
@@ -292,36 +292,6 @@ 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_SUPERH)
-
-#ifdef CONFIG_SOLUTION_ENGINE
-#define SMC_IRQ_FLAGS		(0)
-#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
-#define SMC_CAN_USE_16BIT      1
-#define SMC_CAN_USE_32BIT      0
-
-#define SMC_inb(a, r)          inb((a) + (r))
-#define SMC_inw(a, r)          inw((a) + (r))
-#define SMC_outb(v, a, r)      outb(v, (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)
-
-#endif  /* BOARDS */
-
 #elif   defined(CONFIG_M32R)
 
 #define SMC_CAN_USE_8BIT	0
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 01/04] smc91x: pass along private data, Magnus Damm, (Wed Feb 20, 2:57 am)
[PATCH 02/04] smc91x: introduce platform data flags, Magnus Damm, (Wed Feb 20, 2:58 am)
[PATCH 03/04] smc91x: make superh use default config, Magnus Damm, (Wed Feb 20, 2:58 am)
[PATCH 04/04] smc91x: add insw/outsw to default config, Magnus Damm, (Wed Feb 20, 2:58 am)
Re: [PATCH 01/04] smc91x: pass along private data, Nicolas Pitre, (Wed Feb 20, 8:42 am)
Re: [PATCH 02/04] smc91x: introduce platform data flags, Nicolas Pitre, (Wed Feb 20, 8:58 am)
Re: [PATCH 01/04] smc91x: pass along private data, Magnus Damm, (Wed Feb 20, 7:14 pm)
Re: [PATCH 02/04] smc91x: introduce platform data flags, Nicolas Pitre, (Wed Feb 20, 8:28 pm)
Re: [PATCH 01/04] smc91x: pass along private data, Nicolas Pitre, (Wed Feb 20, 8:35 pm)