diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-08-25 21:30:56 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-08-25 21:30:56 +0000 |
commit | dac103878ffd0ba9eaa80d082ade85f558e8fb5c (patch) | |
tree | 4e10c0cc1d005b91182258bc17296257c0353bf4 /include/asm-mips/dec/kn03.h | |
parent | eb431e0bd1b221804e83f38f6371c256428e43da (diff) |
NTP fixes from Maciej.
Diffstat (limited to 'include/asm-mips/dec/kn03.h')
-rw-r--r-- | include/asm-mips/dec/kn03.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/asm-mips/dec/kn03.h b/include/asm-mips/dec/kn03.h index 87ccae4b2..8d15b0160 100644 --- a/include/asm-mips/dec/kn03.h +++ b/include/asm-mips/dec/kn03.h @@ -8,6 +8,7 @@ * * Copyright (C) 1995,1996 by Paul M. Antoine, some code and definitions * are by curteousy of Chris Fraser. + * Copyright (C) 2000 Maciej W. Rozycki * * These are addresses which have to be known early in the boot process. * For other addresses refer to tc.h ioasic_addrs.h and friends. @@ -18,16 +19,12 @@ #include <asm/addrspace.h> /* - * Motherboard regs (kseg1 addresses) - */ -#define KN03_SSR_ADDR KSEG1ADDR(0x1f840100) /* system control & status reg */ -#define KN03_SIR_ADDR KSEG1ADDR(0x1f840110) /* system interrupt reg */ -#define KN03_SIRM_ADDR KSEG1ADDR(0x1f840120) /* system interrupt mask reg */ - -/* * Some port addresses... * FIXME: these addresses are incomplete and need tidying up! */ -#define KN03_RTC_BASE (KSEG1ADDR(0x1f800000 + 0x200000)) /* ASIC + SL8 */ +#define KN03_IOASIC_BASE KSEG1ADDR(0x1f840000) /* I/O ASIC */ +#define KN03_RTC_BASE KSEG1ADDR(0x1fa00000) /* RTC */ + +#define KN03_IOASIC_REG(r) (KN03_IOASIC_BASE+(r)) #endif /* __ASM_MIPS_DEC_KN03_H */ |