PATH 
ADC Home > Documentation > Hardware > Device Managers and Drivers > PCI Card Services > Designing PCI Cards and Drivers for Power Macintosh Computers


  

ExpMgrConfigWriteByte

You can use the ExpMgrConfigWriteByte function to write a byte to an address in PCI configuration space.

OSErr ExpMgrConfigWriteByte (
                     RegEntryIDPtr node,
                     LogicalAddress configAddr,
                     UInt8 value);
node
A node identifier that identifies a device node. If you specify a node identifier that isn't in the device tree, ExpMgrConfigWriteByte returns a result code of deviceTreeInvalidNodeErr.
configAddr
The configuration address (a value between 0 and 255).
value
The 8-bit value.
DESCRIPTION

The ExpMgrConfigWriteByte function writes the value of value to the address in PCI configuration space for device node node determined by offset configAddr.

RESULT CODES
noErr 0 No error
deviceTreeInvalidNodeErr -2538 Device node not in the device tree

© 1999 Apple Computer, Inc. – (Last Updated 26 March 99)