Function 62, subfunctions 8,9,10 - write to PCI-register.
Parameters:
- eax = 62 - function number
- bl = 8 - write byte
- bl = 9 - write word
- bl = 10 - write dword
- bh = number of PCI-bus
- ch = dddddfff, where ddddd = number of the device on the bus,
fff = function number of device
- cl = number of register (must be even for bl=9,
divisible by 4 for bl=10)
- dl/dx/edx (depending on requested size) contatins
the data to write
Returned value:
- eax = -1 - error (access to PCI is disabled or parameters
are not supported)
- eax = 0 - success
Remarks:
- Previously low-level access to PCI for applications must be
enabled by subfunction 12 of function 21.
- Access mechanism 2 supports only 16 devices on a bus and ignores
function number. To get access mechanism use subfunction 2.
- Some registers are standard and exist for all devices, some are
defined by the concrete device. The list of registers of the
first type can be found e.g. in famous Interrupt List by
Ralf Brown; registers of the second type must be listed
in the device documentation.