PCI Probe Question

John Rose johnrose at austin.ibm.com
Fri Feb 6 11:20:47 EST 2004

My question involves pci_read_bases(), which reads resource info from
the config space of an adapter.  I'm using an e100.

At boot, and at hotplug-enable time, pci_read_bases() reads 0xfc00 for
the base of the adapter's only "I/O" resource region.

After DLPAR removing and adding back the parent bus of the card,
pci_read_bases() reads a different value (0x1000) for the base of the
same region.  It reads the same size as at boot, and all the other
regions are identical to their boot-time bases and sizes.

How can the base address of the only I/O region change like this?  I
thought that was a static property of an adapter.  Despite this
difference, the card still works.


BTW - the addr and buid values are identical to those at boot, so the
rtas read pci config call is passing identical inputs in both cases.

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc64-dev mailing list