Lines Matching +full:three +full:- +full:level
1 // SPDX-License-Identifier: GPL-2.0
7 * exclusively use the autovector interrupts (the 'generic level0-level7'
8 * interrupts with exception vectors 0x19-0x1f). The following interrupt levels
10 * 1 - VIA1
11 * - slot 0: one second interrupt (CA2)
12 * - slot 1: VBlank (CA1)
13 * - slot 2: ADB data ready (SR full)
14 * - slot 3: ADB data (CB2)
15 * - slot 4: ADB clock (CB1)
16 * - slot 5: timer 2
17 * - slot 6: timer 1
18 * - slot 7: status of IRQ; signals 'any enabled int.'
20 * 2 - VIA2 or RBV
21 * - slot 0: SCSI DRQ (CA2)
22 * - slot 1: NUBUS IRQ (CA1) need to read port A to find which
23 * - slot 2: /EXP IRQ (only on IIci)
24 * - slot 3: SCSI IRQ (CB2)
25 * - slot 4: ASC IRQ (CB1)
26 * - slot 5: timer 2 (not on IIci)
27 * - slot 6: timer 1 (not on IIci)
28 * - slot 7: status of IRQ; signals 'any enabled int.'
30 * Levels 3-6 vary by machine type. For VIA or RBV Macintoshes:
32 * 3 - unused (?)
34 * 4 - SCC
36 * 5 - unused (?)
37 * [serial errors or special conditions seem to raise level 6
40 * 6 - off switch (?)
42 * Machines with Quadra-like VIA hardware, except PSC and PMU machines, support
46 * 1 - unused (?)
48 * 3 - on-board SONIC
50 * 5 - Apple Sound Chip (ASC)
52 * 6 - VIA1
57 * 1 - ISM IOP (ADB)
59 * 2 - SCSI
61 * 3 - NuBus
63 * 4 - SCC IOP
65 * 6 - VIA1
69 * 3 - PSC level 3
70 * - slot 0: MACE
72 * 4 - PSC level 4
73 * - slot 1: SCC channel A interrupt
74 * - slot 2: SCC channel B interrupt
75 * - slot 3: MACE DMA
77 * 5 - PSC level 5
79 * 6 - PSC level 6
81 * Finally we have good 'ole level 7, the non-maskable interrupt:
83 * 7 - NMI (programmer's switch on the back of some Macs)
88 * - We install dispatchers for the autovector interrupts (1-7). These
92 * index of the interrupt hardware into the low three bits and the original
96 * - Nubus is a special case because its interrupts are hidden behind two
99 * dispatcher. This dispatcher finds the interrupting slot number (9-F) and
101 * minus 9 in the low three bits and the pseudo-level 7 in the upper five
103 * called. This puts Nubus interrupts into the range 56-62.
105 * - The Baboon interrupts (used on some PowerBooks) are an even more special
150 pr_info("Non-Maskable Interrupt\n"); in mac_nmi_handler()
160 NUM_MAC_SOURCES - IRQ_USER); in mac_init_IRQ()
164 * at levels 1-7. Most of the work is done elsewhere. in mac_init_IRQ()
182 * mac_irq_enable - enable an interrupt source
183 * mac_irq_disable - disable an interrupt source
190 int irq = data->irq; in mac_irq_enable()
220 int irq = data->irq; in mac_irq_disable()
250 int irq = data->irq; in mac_irq_startup()
262 int irq = data->irq; in mac_irq_shutdown()