⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kn03.h

📁 该文件是rt_linux
💻 H
字号:
/* * 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 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. */#ifndef __ASM_MIPS_DEC_KN03_H#define __ASM_MIPS_DEC_KN03_H#include <asm/addrspace.h>/* * Some port addresses... */#define KN03_IOASIC_BASE	KSEG1ADDR(0x1f840000)	/* I/O ASIC */#define KN03_RTC_BASE		KSEG1ADDR(0x1fa00000)	/* RTC */#define KN03_MCR_BASE		KSEG1ADDR(0x1fac0000)	/* MCR */#define KN03_MCR_BNK32M		(1<<10)			/* 32M stride */#define KN03_MCR_ECCEN		(1<<13)			/* ECC enabled */#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 */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -