| 1 |
|
| 2 | |
| 3 | * include/asm-mips/dec/kn02ca.h
|
| 4 | *
|
| 5 | * Personal DECstation 5000/xx (Maxine or KN02-CA) definitions.
|
| 6 | *
|
| 7 | * Copyright (C) 2002, 2003 Maciej W. Rozycki
|
| 8 |
|
| 9 | #ifndef __ASM_MIPS_DEC_KN02CA_H
|
| 10 | #define __ASM_MIPS_DEC_KN02CA_H
|
| 11 |
|
| 12 | #include <asm/dec/kn02xa.h>
|
| 13 |
|
| 14 | |
| 15 | * CPU interrupt bits.
|
| 16 |
|
| 17 | #define KN02CA_CPU_INR_HALT 6
|
| 18 | #define KN02CA_CPU_INR_CASCADE 5
|
| 19 | #define KN02CA_CPU_INR_BUS 4
|
| 20 | #define KN02CA_CPU_INR_RTC 3
|
| 21 | #define KN02CA_CPU_INR_TIMER 2
|
| 22 |
|
| 23 | |
| 24 | * I/O ASIC interrupt bits. Star marks denote non-IRQ status bits.
|
| 25 |
|
| 26 | #define KN02CA_IO_INR_FLOPPY 15
|
| 27 | #define KN02CA_IO_INR_NVRAM 14
|
| 28 | #define KN02CA_IO_INR_POWERON 13
|
| 29 | #define KN02CA_IO_INR_TC0 12
|
| 30 | #define KN02CA_IO_INR_TIMER 12
|
| 31 | #define KN02CA_IO_INR_ISDN 11
|
| 32 | #define KN02CA_IO_INR_NRMOD 10
|
| 33 | #define KN02CA_IO_INR_ASC 9
|
| 34 | #define KN02CA_IO_INR_LANCE 8
|
| 35 | #define KN02CA_IO_INR_HDFLOPPY 7
|
| 36 | #define KN02CA_IO_INR_SCC0 6
|
| 37 | #define KN02CA_IO_INR_TC1 5
|
| 38 | #define KN02CA_IO_INR_XDFLOPPY 4
|
| 39 | #define KN02CA_IO_INR_VIDEO 3
|
| 40 | #define KN02CA_IO_INR_XVIDEO 2
|
| 41 | #define KN02CA_IO_INR_AB_XMIT 1
|
| 42 | #define KN02CA_IO_INR_AB_RECV 0
|
| 43 |
|
| 44 |
|
| 45 | |
| 46 | * Memory Error Register bits.
|
| 47 |
|
| 48 | #define KN02CA_MER_INTR (1<<27)
|
| 49 |
|
| 50 | |
| 51 | * Memory Size Register bits.
|
| 52 |
|
| 53 | #define KN02CA_MSR_INTREN (1<<26)
|
| 54 | #define KN02CA_MSR_MS10EN (1<<25)
|
| 55 | #define KN02CA_MSR_PFORCE (0xf<<21)
|
| 56 | #define KN02CA_MSR_MABEN (1<<20)
|
| 57 | #define KN02CA_MSR_LASTBANK (0x7<<17)
|
| 58 |
|
| 59 | |
| 60 | * I/O ASIC System Support Register bits.
|
| 61 |
|
| 62 | #define KN03CA_IO_SSR_RES_14 (1<<14)
|
| 63 | #define KN03CA_IO_SSR_RES_13 (1<<13)
|
| 64 | #define KN03CA_IO_SSR_ISDN_RST (1<<12)
|
| 65 |
|
| 66 | #define KN03CA_IO_SSR_FLOPPY_RST (1<<7)
|
| 67 | #define KN03CA_IO_SSR_VIDEO_RST (1<<6)
|
| 68 | #define KN03CA_IO_SSR_AB_RST (1<<5)
|
| 69 | #define KN03CA_IO_SSR_RES_4 (1<<4)
|
| 70 | #define KN03CA_IO_SSR_RES_3 (1<<4)
|
| 71 | #define KN03CA_IO_SSR_RES_2 (1<<2)
|
| 72 | #define KN03CA_IO_SSR_RES_1 (1<<1)
|
| 73 | #define KN03CA_IO_SSR_LED (1<<0)
|
| 74 |
|
| 75 | #endif
|