diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/smc91x.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index 5518c51bfd81..273f90ac2cb9 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h | |||
@@ -41,7 +41,8 @@ | |||
41 | */ | 41 | */ |
42 | 42 | ||
43 | #if defined(CONFIG_ARCH_LUBBOCK) ||\ | 43 | #if defined(CONFIG_ARCH_LUBBOCK) ||\ |
44 | defined(CONFIG_MACH_MAINSTONE) | 44 | defined(CONFIG_MACH_MAINSTONE) ||\ |
45 | defined(CONFIG_MACH_ZYLONITE) | ||
45 | 46 | ||
46 | #include <asm/mach-types.h> | 47 | #include <asm/mach-types.h> |
47 | 48 | ||
@@ -249,22 +250,6 @@ SMC_outw(u16 val, void __iomem *ioaddr, int reg) | |||
249 | } | 250 | } |
250 | } | 251 | } |
251 | 252 | ||
252 | #elif defined(CONFIG_MACH_ZYLONITE) | ||
253 | |||
254 | #define SMC_CAN_USE_8BIT 1 | ||
255 | #define SMC_CAN_USE_16BIT 1 | ||
256 | #define SMC_CAN_USE_32BIT 0 | ||
257 | #define SMC_IO_SHIFT 0 | ||
258 | #define SMC_NOWAIT 1 | ||
259 | #define SMC_USE_PXA_DMA 1 | ||
260 | #define SMC_inb(a, r) readb((a) + (r)) | ||
261 | #define SMC_inw(a, r) readw((a) + (r)) | ||
262 | #define SMC_insw(a, r, p, l) insw((a) + (r), p, l) | ||
263 | #define SMC_outsw(a, r, p, l) outsw((a) + (r), p, l) | ||
264 | #define SMC_outb(v, a, r) writeb(v, (a) + (r)) | ||
265 | #define SMC_outw(v, a, r) writew(v, (a) + (r)) | ||
266 | #define SMC_IRQ_FLAGS (-1) /* from resource */ | ||
267 | |||
268 | #elif defined(CONFIG_ARCH_OMAP) | 253 | #elif defined(CONFIG_ARCH_OMAP) |
269 | 254 | ||
270 | /* We can only do 16-bit reads and writes in the static memory space. */ | 255 | /* We can only do 16-bit reads and writes in the static memory space. */ |