You can use the ExpMgrConfigWriteLong function to write a long word to an address in PCI configuration space.
OSErr ExpMgrConfigWriteLong (
RegEntryIDPtr node,
LogicalAddress configAddr,
UInt32 value);
The ExpMgrConfigWriteLong function writes the byte-swapped value of value to the address in PCI configuration space for device node node starting at offset configAddr.