You can use the ExpMgrConfigWriteWord function to write a word to an address in PCI configuration space.
OSErr ExpMgrConfigWriteWord (
RegEntryIDPtr node,
LogicalAddress configAddr,
UInt16 value);
The ExpMgrConfigWriteWord function writes the byte-swapped value of value to the address in PCI configuration space for device node node determined by offset configAddr.