1 #ifndef _M68K_BVME6000HW_H_
2 #define _M68K_BVME6000HW_H_
10 #define BVME_PIT_BASE 0xffa00000
42 } PitRegs_t
, *PitRegsPtr
;
44 #define bvmepit ((*(volatile PitRegsPtr)(BVME_PIT_BASE)))
46 #define BVME_RTC_BASE 0xff900000
82 } RtcRegs_t
, *RtcPtr_t
;
85 #define BVME_I596_BASE 0xff100000
87 #define BVME_ETHIRQ_REG 0xff20000b
89 #define BVME_LOCAL_IRQ_STAT 0xff20000f
91 #define BVME_ETHERR 0x02
92 #define BVME_ABORT_STATUS 0x08
94 #define BVME_NCR53C710_BASE 0xff000000
96 #define BVME_SCC_A_ADDR 0xffb0000b
97 #define BVME_SCC_B_ADDR 0xffb00003
98 #define BVME_SCC_RTxC 7372800
100 #define BVME_CONFIG_REG 0xff500003
102 #define config_reg_ptr (volatile unsigned char *)BVME_CONFIG_REG
104 #define BVME_CONFIG_SW1 0x08
105 #define BVME_CONFIG_SW2 0x04
106 #define BVME_CONFIG_SW3 0x02
107 #define BVME_CONFIG_SW4 0x01
110 #define BVME_IRQ_TYPE_PRIO 0
112 #define BVME_IRQ_PRN (IRQ_USER+20)
113 #define BVME_IRQ_TIMER (IRQ_USER+25)
114 #define BVME_IRQ_I596 IRQ_AUTO_2
115 #define BVME_IRQ_SCSI IRQ_AUTO_3
116 #define BVME_IRQ_RTC IRQ_AUTO_6
117 #define BVME_IRQ_ABORT IRQ_AUTO_7
120 #define BVME_IRQ_SCC_BASE IRQ_USER
121 #define BVME_IRQ_SCCB_TX IRQ_USER
122 #define BVME_IRQ_SCCB_STAT (IRQ_USER+2)
123 #define BVME_IRQ_SCCB_RX (IRQ_USER+4)
124 #define BVME_IRQ_SCCB_SPCOND (IRQ_USER+6)
125 #define BVME_IRQ_SCCA_TX (IRQ_USER+8)
126 #define BVME_IRQ_SCCA_STAT (IRQ_USER+10)
127 #define BVME_IRQ_SCCA_RX (IRQ_USER+12)
128 #define BVME_IRQ_SCCA_SPCOND (IRQ_USER+14)
130 /* Address control registers */
132 #define BVME_ACR_A32VBA 0xff400003
133 #define BVME_ACR_A32MSK 0xff410003
134 #define BVME_ACR_A24VBA 0xff420003
135 #define BVME_ACR_A24MSK 0xff430003
136 #define BVME_ACR_A16VBA 0xff440003
137 #define BVME_ACR_A32LBA 0xff450003
138 #define BVME_ACR_A24LBA 0xff460003
139 #define BVME_ACR_ADDRCTL 0xff470003
141 #define bvme_acr_a32vba *(volatile unsigned char *)BVME_ACR_A32VBA
142 #define bvme_acr_a32msk *(volatile unsigned char *)BVME_ACR_A32MSK
143 #define bvme_acr_a24vba *(volatile unsigned char *)BVME_ACR_A24VBA
144 #define bvme_acr_a24msk *(volatile unsigned char *)BVME_ACR_A24MSK
145 #define bvme_acr_a16vba *(volatile unsigned char *)BVME_ACR_A16VBA
146 #define bvme_acr_a32lba *(volatile unsigned char *)BVME_ACR_A32LBA
147 #define bvme_acr_a24lba *(volatile unsigned char *)BVME_ACR_A24LBA
148 #define bvme_acr_addrctl *(volatile unsigned char *)BVME_ACR_ADDRCTL