Access to PCI Expansion ROMs on PPC

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Nov 26 08:34:06 EST 2007


> You can dump the PCI config block in /sys with hexdump and see if the
> PCI_COMMAND_MEMORY bit is set. I was also unable to locate where in
> the kernel PCI_COMMAND_MEMORY is being set. It could be that it is set
> by the BIOS at boot on the x86 and not on the ppc.

The kernel doesn't until somebody calls pci_enable_device(). So yes,
that's likely to be your problem.

Ben.





More information about the Linuxppc-dev mailing list