You can use the ExpMgrConfigReadLong function to read the long word value at a specific address in PCI configuration space.
OSErr ExpMgrConfigReadLong (
RegEntryIDPtr node,
LogicalAddress configAddr,
UInt32 *valuePtr);
The ExpMgrConfigReadLong function reads the long word starting at the address in PCI configuration space for device node node determined by offset configAddr, returning its byte-swapped value in valuePtr.