3 NetBSD/mvme68k Interrupt Levels
4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 NetBSD/mvme68k interrupts are dependent on the type of device which
7 generates them. This holds true regardless of what bus the device is
8 situated on (eg. local, VMEbus or IndustryPack site).
10 On MVME147, there is a fixed 1:1 mapping of VMEbus interrupt level
11 to CPU interrupt level. This implies that VMEbus devices must be
12 set to interrupt at the correct level for that type of device.
14 On the other boards, each VMEbus interrupt level can be mapped to a
15 specific CPU interrupt level so the above restriction does not apply.
16 However, note that the mapping can only be done once. Therefore it is
17 not possible to have two VMEbus devices which require different CPU
18 interrupt levels sharing the same VMEbus interrupt level.
20 The mapping of device type to CPU interrupt levels is as follows:
25 6 - 7 Anything which generates an exceptional condition
26 which *must* be responded to immediately. For
27 example, a memory parity/uncorrectable data error.
29 5 Reserved for the system clock/scheduler. Do not use.
31 4 Serial port devices (rs232, rs422 etc).
35 2 Disk/Block device interfaces.
45 NetBSD/mvme68k does not use or generate `auto-vectored' interrupts.
47 All vectored interrupts up to and including vector 0x7f are reserved
48 for use by onboard devices.
50 VMEbus cards and IndustryPack modules are free to use vectors 0x80 -> 0xff.
52 The onboard devices' vectors are as follows:
57 0x42 PCC: ABORT Switch
58 0x43 PCC: ZS Chips shared vector
59 0x44 PCC: Lance Ethernet
60 0x45 PCC: WD33C93 SCSI
65 0x4a PCC: Soft Interrupt 1
66 0x4b PCC: Soft Interrupt 2
67 0x4c -> 0x4f PCC: <unused>
71 0x50 PCC2: Printer `BUSY'
72 0x51 PCC2: Printer `Paper Empty'
73 0x52 PCC2: Printer `Select'
74 0x53 PCC2: Printer `Fault'
75 0x54 PCC2: Printer `ACK'
77 0x56 PCC2: Ethernet `Error'
83 0x5c PCC2: CD2401 Rx Exception
84 0x5d PCC2: CD2401 Modem
88 0x60 -> 0x67 VME2: <unused>
89 0x68 VME2: Software Interrupt #0
90 0x69 VME2: Software Interrupt #1
91 0x6a VME2: Software Interrupt #2
92 0x6b VME2: Software Interrupt #3
93 0x6c VME2: Software Interrupt #4
94 0x6d VME2: Software Interrupt #5
95 0x6e VME2: Software Interrupt #6
96 0x6f VME2: Software Interrupt #7
97 0x70 VME2: GCSR Location Monitor #0
98 0x71 VME2: GCSR Location Monitor #1
99 0x72 VME2: GCSR SIG #0
100 0x73 VME2: GCSR SIG #1
101 0x74 VME2: GCSR SIG #2
102 0x75 VME2: GCSR SIG #3
103 0x76 VME2: DMA Controller
105 0x78 VME2: Tick Timer #1
106 0x79 VME2: Tick Timer #2
107 0x7a VME2: `IRQ1' feature
108 0x7b VME2: Parity/ECC Error
109 0x7c VME2: Master Write Post Error
111 0x7e VME2: ABORT Switch
120 0x44 IPACK: Programmable Clock
122 0x50 -> 0x52 MC2: <unused>
126 0x56 MC2: Ethernet `Error'
131 0x5b MC2: Parity/ECC Error
132 0x5c MC2: ZS #1 (vector supplied by ZS chip)
133 0x5d MC2: ZS #2 (vector supplied by ZS chip)
134 0x5e MC2: Abort Switch
137 0x60 -> 0x67 VME2: <unused>
138 0x68 VME2: Software Interrupt #0
139 0x69 VME2: Software Interrupt #1
140 0x6a VME2: Software Interrupt #2
141 0x6b VME2: Software Interrupt #3
142 0x6c VME2: Software Interrupt #4
143 0x6d VME2: Software Interrupt #5
144 0x6e VME2: Software Interrupt #6
145 0x6f VME2: Software Interrupt #7
146 0x70 VME2: GCSR Location Monitor #0
147 0x71 VME2: GCSR Location Monitor #1
148 0x72 VME2: GCSR SIG #0
149 0x73 VME2: GCSR SIG #1
150 0x74 VME2: GCSR SIG #2
151 0x75 VME2: GCSR SIG #3
152 0x76 VME2: DMA Controller
154 0x78 VME2: Tick Timer #1
155 0x79 VME2: Tick Timer #2
156 0x7a VME2: `IRQ1' feature
157 0x7b VME2: Parity/ECC Error
158 0x7c VME2: Master Write Post Error