patch-2.4.19 linux-2.4.19/include/asm-mips/dec/kn01.h

Next file: linux-2.4.19/include/asm-mips/dec/kn02.h
Previous file: linux-2.4.19/include/asm-mips/dec/ioasic_ints.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-mips/dec/kn01.h linux-2.4.19/include/asm-mips/dec/kn01.h
@@ -1,15 +1,14 @@
 /*
- * Hardware info about DEC DECstation DS2100/3100 systems (otherwise known
- * as pmax or kn01.
+ * Hardware info about DECstation DS2100/3100 systems (otherwise known as
+ * pmin/pmax or KN01).
  *
  * 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.
- *
- * This file is under construction - you were warned!
+ * are by courtesy of Chris Fraser.
+ * Copyright (C) 2002  Maciej W. Rozycki
  */
 #ifndef __ASM_MIPS_DEC_KN01_H 
 #define __ASM_MIPS_DEC_KN01_H 
@@ -18,11 +17,21 @@
 
 /*
  * Some port addresses...
- * FIXME: these addresses are incomplete and need tidying up!
  */
 
 #define KN01_LANCE_BASE (KSEG1ADDR(0x18000000)) /* 0xB8000000 */
 #define KN01_DZ11_BASE	(KSEG1ADDR(0x1c000000)) /* 0xBC000000 */
 #define KN01_RTC_BASE	(KSEG1ADDR(0x1d000000)) /* 0xBD000000 */
 
+
+/*
+ * CPU interrupt bits.
+ */
+#define KN01_CPU_INR_MEMORY	6	/* memory, I/O bus write errors */
+#define KN01_CPU_INR_VIDEO	6	/* framebuffer */
+#define KN01_CPU_INR_RTC	5	/* DS1287 RTC */
+#define KN01_CPU_INR_DZ11	4	/* DZ11 (DC7085) serial */
+#define KN01_CPU_INR_LANCE	3	/* LANCE (Am7990) Ethernet */
+#define KN01_CPU_INR_SII	2	/* SII (DC7061) SCSI */
+
 #endif /* __ASM_MIPS_DEC_KN01_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)