#if 0 /* ??? Not sure how to do this, yet... */
init_i8259a_irqs(); /* ??? */ #endif
for (i = 0; i < 16; ++i) { if (i == 2) continue;
irq_set_chip_and_handler(i + irq_bias, &wildfire_irq_type,
handle_level_irq);
irq_set_status_flags(i + irq_bias, IRQ_LEVEL);
}
irq_set_chip_and_handler(36 + irq_bias, &wildfire_irq_type,
handle_level_irq);
irq_set_status_flags(36 + irq_bias, IRQ_LEVEL); for (i = 40; i < 64; ++i) {
irq_set_chip_and_handler(i + irq_bias, &wildfire_irq_type,
handle_level_irq);
irq_set_status_flags(i + irq_bias, IRQ_LEVEL);
}
if (request_irq(32 + irq_bias, no_action, 0, "isa_enable", NULL))
pr_err("Failed to register isa_enable interrupt\n");
}
staticvoid __init
wildfire_init_irq(void)
{ int qbbno, pcano;
for (qbbno = 0; qbbno < WILDFIRE_MAX_QBB; qbbno++) { if (WILDFIRE_QBB_EXISTS(qbbno)) { for (pcano = 0; pcano < WILDFIRE_PCA_PER_QBB; pcano++) { if (WILDFIRE_PCA_EXISTS(qbbno, pcano)) {
wildfire_init_irq_per_pca(qbbno, pcano);
}
}
}
}
}
staticvoid
wildfire_device_interrupt(unsignedlong vector)
{ int irq;
irq = (vector - 0x800) >> 4;
/* * bits 10-8: source QBB ID * bits 7-6: PCA * bits 5-0: irq in PCA
*/
handle_irq(irq); return;
}
/* * PCI Fixup configuration. * * Summary per PCA (2 PCI or HIPPI buses): * * Bit Meaning * 0-15 ISA * *32 ISA summary *33 SMI *34 NMI *36 builtin QLogic SCSI (or slot 0 if no IO module) *40 Interrupt Line A from slot 2 PCI0 *41 Interrupt Line B from slot 2 PCI0 *42 Interrupt Line C from slot 2 PCI0 *43 Interrupt Line D from slot 2 PCI0 *44 Interrupt Line A from slot 3 PCI0 *45 Interrupt Line B from slot 3 PCI0 *46 Interrupt Line C from slot 3 PCI0 *47 Interrupt Line D from slot 3 PCI0 * *48 Interrupt Line A from slot 4 PCI1 *49 Interrupt Line B from slot 4 PCI1 *50 Interrupt Line C from slot 4 PCI1 *51 Interrupt Line D from slot 4 PCI1 *52 Interrupt Line A from slot 5 PCI1 *53 Interrupt Line B from slot 5 PCI1 *54 Interrupt Line C from slot 5 PCI1 *55 Interrupt Line D from slot 5 PCI1 *56 Interrupt Line A from slot 6 PCI1 *57 Interrupt Line B from slot 6 PCI1 *58 Interrupt Line C from slot 6 PCI1 *50 Interrupt Line D from slot 6 PCI1 *60 Interrupt Line A from slot 7 PCI1 *61 Interrupt Line B from slot 7 PCI1 *62 Interrupt Line C from slot 7 PCI1 *63 Interrupt Line D from slot 7 PCI1 * * * IdSel * 0 Cypress Bridge I/O (ISA summary interrupt) * 1 64 bit PCI 0 option slot 1 (SCSI QLogic builtin) * 2 64 bit PCI 0 option slot 2 * 3 64 bit PCI 0 option slot 3 * 4 64 bit PCI 1 option slot 4 * 5 64 bit PCI 1 option slot 5 * 6 64 bit PCI 1 option slot 6 * 7 64 bit PCI 1 option slot 7
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.