File: kn03.h

package info (click to toggle)
kernel-source-2.4.14 2.4.14-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 139,160 kB
  • ctags: 428,423
  • sloc: ansic: 2,435,554; asm: 141,119; makefile: 8,258; sh: 3,099; perl: 2,561; yacc: 1,177; cpp: 755; tcl: 577; lex: 352; awk: 251; lisp: 218; sed: 72
file content (34 lines) | stat: -rw-r--r-- 1,121 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Hardware info about DEC DECstation 5000/2x0 systems (otherwise known
 * as 3max+ or 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
 *
 * 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...
 * 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 */
#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))

#endif /* __ASM_MIPS_DEC_KN03_H */