porting pci driverfrom arch=ppc on kernel 2.6.16 to arch=powerpc on 2.6.24...

Scott Wood scottwood at freescale.com
Wed May 7 04:12:09 EST 2008


Mike Timmons wrote:
> pci_read_config_byte(pci_dev, PCI_INTERRUPT_LINE, &irqnum).

Don't do this; use pci_dev->irq instead.

If that value doesn't work, check your interrupt-map in the pci node of 
the device tree.

-Scott


More information about the Linuxppc-embedded mailing list