You can use the ExpMgrIOWriteWord function to write a word to an address in PCI I/O space.
OSErr ExpMgrIOWriteWord (RegEntryIDPtr node,
LogicalAddress ioAddr,
UInt16 value);
The ExpMgrIOWriteWord function writes the byte-swapped value of value to the I/O address for device node node determined by address ioAddr.