Booting Imac G5

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Nov 15 09:09:00 EST 2004


On Sun, 2004-11-14 at 15:40 +0100, J. Mayer wrote:

+        */
+       pci_read_config_byte(pci_dev, PCI_INTERRUPT_PIN, &intpin);
+       if (intpin != 0)
+             pci_write_config_byte(pci_dev, PCI_INTERRUPT_LINE, pci_dev->irq);

You don't need to read PCI_INTERRUPT_PIN, just unconditionally write to PCI_INTERRUPT_LINE...

Ben.





More information about the Linuxppc64-dev mailing list