patch-2.4.19 linux-2.4.19/include/asm-mips/dec/kn03.h
Next file: linux-2.4.19/include/asm-mips/dec/kn05.h
Previous file: linux-2.4.19/include/asm-mips/dec/kn02xa.h
Back to the patch index
Back to the overall index
- Lines: 64
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-mips/dec/kn03.h
- Orig date:
Sun Sep 9 10:43:01 2001
diff -urN linux-2.4.18/include/asm-mips/dec/kn03.h linux-2.4.19/include/asm-mips/dec/kn03.h
@@ -1,14 +1,16 @@
/*
- * Hardware info about DEC DECstation 5000/2x0 systems (otherwise known
- * as 3max+ or kn03.
+ * Hardware info about DECstation 5000/2x0 systems (otherwise known as
+ * 3max+) and DECsystem 5900 systems (otherwise known as bigmax) which
+ * differ mechanically but are otherwise identical (both are known as
+ * KN03).
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1995,1996 by Paul M. Antoine, some code and definitions
- * are by curteousy of Chris Fraser.
- * Copyright (C) 2000 Maciej W. Rozycki
+ * are by courtesy of Chris Fraser.
+ * Copyright (C) 2000, 2002 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.
@@ -20,7 +22,6 @@
/*
* Some port addresses...
- * FIXME: these addresses are incomplete and need tidying up!
*/
#define KN03_IOASIC_BASE KSEG1ADDR(0x1f840000) /* I/O ASIC */
#define KN03_RTC_BASE KSEG1ADDR(0x1fa00000) /* RTC */
@@ -31,4 +32,34 @@
#define KN03_IOASIC_REG(r) (KN03_IOASIC_BASE+(r))
+
+/*
+ * CPU interrupt bits.
+ */
+#define KN03_CPU_INR_HALT 6 /* HALT button */
+#define KN03_CPU_INR_MEMORY 5 /* memory, I/O bus write errors */
+#define KN03_CPU_INR_RES_4 4 /* unused */
+#define KN03_CPU_INR_RTC 3 /* DS1287 RTC */
+#define KN03_CPU_INR_CASCADE 2 /* I/O ASIC cascade */
+
+/*
+ * I/O ASIC interrupt bits. Star marks denote non-IRQ status bits.
+ */
+#define KN03_IO_INR_3MAXP 15 /* (*) 3max+/bigmax ID */
+#define KN03_IO_INR_NVRAM 14 /* (*) NVRAM clear jumper */
+#define KN03_IO_INR_TC2 13 /* TURBOchannel slot #2 */
+#define KN03_IO_INR_TC1 12 /* TURBOchannel slot #1 */
+#define KN03_IO_INR_TC0 11 /* TURBOchannel slot #0 */
+#define KN03_IO_INR_NRMOD 10 /* (*) NRMOD manufacturing jumper */
+#define KN03_IO_INR_ASC 9 /* ASC (NCR53C94) SCSI */
+#define KN03_IO_INR_LANCE 8 /* LANCE (Am7990) Ethernet */
+#define KN03_IO_INR_SCC1 7 /* SCC (Z85C30) serial #1 */
+#define KN03_IO_INR_SCC0 6 /* SCC (Z85C30) serial #0 */
+#define KN03_IO_INR_RTC 5 /* DS1287 RTC (?) */
+#define KN03_IO_INR_PSU 4 /* power supply unit warning */
+#define KN03_IO_INR_RES_3 3 /* unused */
+#define KN03_IO_INR_ASC_DATA 2 /* SCSI data ready (discouraged?) (?) */
+#define KN03_IO_INR_PBNC 1 /* HALT button debouncer */
+#define KN03_IO_INR_PBNO 0 /* ~HALT button debouncer */
+
#endif /* __ASM_MIPS_DEC_KN03_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)