register_interrupt_handler() tried to register irq0. Fixed.
This commit is contained in:
@@ -789,10 +789,10 @@ void init_pci(void)
|
|||||||
xprintf("initializing PCI bridge:\r\n");
|
xprintf("initializing PCI bridge:\r\n");
|
||||||
|
|
||||||
(void) res; /* for now */
|
(void) res; /* for now */
|
||||||
res = register_interrupt_handler(0, INT_SOURCE_PCIARB, 5, 5, pci_arb_interrupt);
|
res = register_interrupt_handler(5, INT_SOURCE_PCIARB, 5, 1, pci_arb_interrupt);
|
||||||
debug_printf("registered interrupt handler for PCI arbiter: %s\r\n",
|
debug_printf("registered interrupt handler for PCI arbiter: %s\r\n",
|
||||||
(res < 0 ? "failed" : "succeeded"));
|
(res < 0 ? "failed" : "succeeded"));
|
||||||
register_interrupt_handler(0, INT_SOURCE_XLBPCI, 5, 5, xlb_pci_interrupt);
|
register_interrupt_handler(5, INT_SOURCE_XLBPCI, 5, 0, xlb_pci_interrupt);
|
||||||
debug_printf("registered interrupt handler for XLB PCI: %s\r\n",
|
debug_printf("registered interrupt handler for XLB PCI: %s\r\n",
|
||||||
(res < 0 ? "failed" : "succeeded"));
|
(res < 0 ? "failed" : "succeeded"));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user