pre-2.3.4..
[davej-history.git] / include / asm-mips / sni.h
blob16a4ace092afa23e71ec9495d955af7b6cd15693
1 /* $Id: sni.h,v 1.2 1998/09/16 22:52:43 ralf Exp $
3 * SNI specific definitions
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
7 * for more details.
9 * Copyright (C) 1997, 1998 by Ralf Baechle
11 #ifndef __ASM_MIPS_SNI_H
12 #define __ASM_MIPS_SNI_H
14 #define SNI_PORT_BASE 0xb4000000
17 * ASIC PCI registers for little endian configuration.
19 #ifndef __MIPSEL__
20 #error "Fix me for big endian"
21 #endif
22 #define PCIMT_UCONF 0xbfff0000
23 #define PCIMT_IOADTIMEOUT2 0xbfff0008
24 #define PCIMT_IOMEMCONF 0xbfff0010
25 #define PCIMT_IOMMU 0xbfff0018
26 #define PCIMT_IOADTIMEOUT1 0xbfff0020
27 #define PCIMT_DMAACCESS 0xbfff0028
28 #define PCIMT_DMAHIT 0xbfff0030
29 #define PCIMT_ERRSTATUS 0xbfff0038
30 #define PCIMT_ERRADDR 0xbfff0040
31 #define PCIMT_SYNDROME 0xbfff0048
32 #define PCIMT_ITPEND 0xbfff0050
33 #define PCIMT_IRQSEL 0xbfff0058
34 #define PCIMT_TESTMEM 0xbfff0060
35 #define PCIMT_ECCREG 0xbfff0068
36 #define PCIMT_CONFIG_ADDRESS 0xbfff0070
37 #define PCIMT_ASIC_ID 0xbfff0078 /* read */
38 #define PCIMT_SOFT_RESET 0xbfff0078 /* write */
39 #define PCIMT_PIA_OE 0xbfff0080
40 #define PCIMT_PIA_DATAOUT 0xbfff0088
41 #define PCIMT_PIA_DATAIN 0xbfff0090
42 #define PCIMT_CACHECONF 0xbfff0098
43 #define PCIMT_INVSPACE 0xbfff00a0
44 #define PCIMT_PCI_CONF 0xbfff0100
47 * Data port for the PCI bus.
49 #define PCIMT_CONFIG_DATA 0xb4000cfc
52 * Board specific registers
54 #define PCIMT_CSMSR 0xbfd00000
55 #define PCIMT_CSSWITCH 0xbfd10000
56 #define PCIMT_CSITPEND 0xbfd20000
57 #define PCIMT_AUTO_PO_EN 0xbfd30000
58 #define PCIMT_CLR_TEMP 0xbfd40000
59 #define PCIMT_AUTO_PO_DIS 0xbfd50000
60 #define PCIMT_EXMSR 0xbfd60000
61 #define PCIMT_UNUSED1 0xbfd70000
62 #define PCIMT_CSWCSM 0xbfd80000
63 #define PCIMT_UNUSED2 0xbfd90000
64 #define PCIMT_CSLED 0xbfda0000
65 #define PCIMT_CSMAPISA 0xbfdb0000
66 #define PCIMT_CSRSTBP 0xbfdc0000
67 #define PCIMT_CLRPOFF 0xbfdd0000
68 #define PCIMT_CSTIMER 0xbfde0000
69 #define PCIMT_PWDN 0xbfdf0000
72 * Interrupt 0-16 are reserved for PCI and EISA interrupts. The
73 * interrupts from 16 are assigned to the other interrupts generated
74 * by the PCI chipset.
76 #define PCIMT_IRQ_ETHERNET 16
77 #define PCIMT_IRQ_TEMPERATURE 17
78 #define PCIMT_IRQ_EISA_NMI 18
79 #define PCIMT_IRQ_POWER_OFF 19
80 #define PCIMT_IRQ_BUTTON 20
81 #define PCIMT_IRQ_INTA 21
82 #define PCIMT_IRQ_INTB 22
83 #define PCIMT_IRQ_INTC 23
84 #define PCIMT_IRQ_INTD 24
85 #define PCIMT_IRQ_SCSI 25
88 * Base address for the mapped 16mb EISA bus segment.
90 #define PCIMT_EISA_BASE 0xb0000000
93 * The keyboard interrupt is an ISA interrupt
95 #define SNI_KEYBOARD_IRQ 1
97 #endif /* __ASM_MIPS_SNI_H */