diff options
Diffstat (limited to 'include/asm-m32r/opsput/opsput_lan.h')
| -rw-r--r-- | include/asm-m32r/opsput/opsput_lan.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/asm-m32r/opsput/opsput_lan.h b/include/asm-m32r/opsput/opsput_lan.h index f53e10187c03..a5f18dd1ab20 100644 --- a/include/asm-m32r/opsput/opsput_lan.h +++ b/include/asm-m32r/opsput/opsput_lan.h | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | #ifndef _OPSPUT_OPSPUT_LAN_H | ||
| 2 | #define _OPSPUT_OPSPUT_LAN_H | ||
| 3 | |||
| 1 | /* | 4 | /* |
| 2 | * include/asm-m32r/opsput/opsput_lan.h | 5 | * include/asm-m32r/opsput/opsput_lan.h |
| 3 | * | 6 | * |
| @@ -8,14 +11,8 @@ | |||
| 8 | * This file is subject to the terms and conditions of the GNU General | 11 | * This file is subject to the terms and conditions of the GNU General |
| 9 | * Public License. See the file "COPYING" in the main directory of | 12 | * Public License. See the file "COPYING" in the main directory of |
| 10 | * this archive for more details. | 13 | * this archive for more details. |
| 11 | * | ||
| 12 | * $Id: opsput_lan.h,v 1.1 2004/07/27 06:54:20 sakugawa Exp $ | ||
| 13 | */ | 14 | */ |
| 14 | 15 | ||
| 15 | #ifndef _OPSPUT_OPSPUT_LAN_H | ||
| 16 | #define _OPSPUT_OPSPUT_LAN_H | ||
| 17 | |||
| 18 | |||
| 19 | #ifndef __ASSEMBLY__ | 16 | #ifndef __ASSEMBLY__ |
| 20 | /* | 17 | /* |
| 21 | * C functions use non-cache address. | 18 | * C functions use non-cache address. |
| @@ -23,7 +20,7 @@ | |||
| 23 | #define OPSPUT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */) | 20 | #define OPSPUT_LAN_BASE (0x10000000 /* + NONCACHE_OFFSET */) |
| 24 | #else | 21 | #else |
| 25 | #define OPSPUT_LAN_BASE (0x10000000 + NONCACHE_OFFSET) | 22 | #define OPSPUT_LAN_BASE (0x10000000 + NONCACHE_OFFSET) |
| 26 | #endif /* __ASSEMBLY__ */ | 23 | #endif /* __ASSEMBLY__ */ |
| 27 | 24 | ||
| 28 | /* ICU | 25 | /* ICU |
| 29 | * ICUISTS: status register | 26 | * ICUISTS: status register |
| @@ -52,4 +49,4 @@ | |||
| 52 | #define OPSPUT_LAN_ICUCR1 __reg16(OPSPUT_LAN_BASE + 0xc0010) | 49 | #define OPSPUT_LAN_ICUCR1 __reg16(OPSPUT_LAN_BASE + 0xc0010) |
| 53 | #define OPSPUT_LAN_ICUCR3 __reg16(OPSPUT_LAN_BASE + 0xc0014) | 50 | #define OPSPUT_LAN_ICUCR3 __reg16(OPSPUT_LAN_BASE + 0xc0014) |
| 54 | 51 | ||
| 55 | #endif /* _OPSPUT_OPSPUT_LAN_H */ | 52 | #endif /* _OPSPUT_OPSPUT_LAN_H */ |
