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 0x54
113 #define BVME_IRQ_I596 0x1a
114 #define BVME_IRQ_SCSI 0x1b
115 #define BVME_IRQ_TIMER 0x59
116 #define BVME_IRQ_RTC 0x1e
117 #define BVME_IRQ_ABORT 0x1f
120 #define BVME_IRQ_SCC_BASE 0x40
121 #define BVME_IRQ_SCCB_TX 0x40
122 #define BVME_IRQ_SCCB_STAT 0x42
123 #define BVME_IRQ_SCCB_RX 0x44
124 #define BVME_IRQ_SCCB_SPCOND 0x46
125 #define BVME_IRQ_SCCA_TX 0x48
126 #define BVME_IRQ_SCCA_STAT 0x4a
127 #define BVME_IRQ_SCCA_RX 0x4c
128 #define BVME_IRQ_SCCA_SPCOND 0x4e
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