Subject: Re: Access to PCI Expansion ROMs on PPC

From: Benjamin Herrenschmidt <[email-masked]>
Date: Mon, 26 Nov 2007 08:34:06 +1100

> 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.