diff options
Diffstat (limited to 'arch/m32r/kernel/io_mappi3.c')
-rw-r--r-- | arch/m32r/kernel/io_mappi3.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/m32r/kernel/io_mappi3.c b/arch/m32r/kernel/io_mappi3.c index c80bde657854..6716ffea769a 100644 --- a/arch/m32r/kernel/io_mappi3.c +++ b/arch/m32r/kernel/io_mappi3.c | |||
@@ -36,9 +36,6 @@ static inline void *_port2addr(unsigned long port) | |||
36 | return (void *)(port + NONCACHE_OFFSET); | 36 | return (void *)(port + NONCACHE_OFFSET); |
37 | } | 37 | } |
38 | 38 | ||
39 | #define LAN_IOSTART 0x300 | ||
40 | #define LAN_IOEND 0x320 | ||
41 | |||
42 | #if defined(CONFIG_IDE) && !defined(CONFIG_M32R_CFC) | 39 | #if defined(CONFIG_IDE) && !defined(CONFIG_M32R_CFC) |
43 | static inline void *__port2addr_ata(unsigned long port) | 40 | static inline void *__port2addr_ata(unsigned long port) |
44 | { | 41 | { |
@@ -59,9 +56,11 @@ static inline void *__port2addr_ata(unsigned long port) | |||
59 | } | 56 | } |
60 | #endif | 57 | #endif |
61 | 58 | ||
59 | #define LAN_IOSTART 0xa0000300 | ||
60 | #define LAN_IOEND 0xa0000320 | ||
62 | static inline void *_port2addr_ne(unsigned long port) | 61 | static inline void *_port2addr_ne(unsigned long port) |
63 | { | 62 | { |
64 | return (void *)(port + NONCACHE_OFFSET + 0x10000000); | 63 | return (void *)(port + 0x10000000); |
65 | } | 64 | } |
66 | 65 | ||
67 | static inline void *_port2addr_usb(unsigned long port) | 66 | static inline void *_port2addr_usb(unsigned long port) |