diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/smc91x.h | 30 |
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 |