write individual bytes to the configuration space of a device
#include <sys/pci.h>
int _CA_PCI_Write_Config_Byte( unsigned busnum,
unsigned devfuncnum,
unsigned offset,
unsigned cnt,
char *bufptr );
This function writes individual bytes to the configuration space of the specified device.
The arguments are as follows:
Intel
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
When you use the _CA_PCI_... functions:
_CA_PCI_BIOS_Present(), _CA_PCI_Find_Class(), _CA_PCI_Find_Device(), _CA_PCI_GenerateSpecialCycle(), _CA_PCI_Read_Config_Byte(), _CA_PCI_Read_Config_DWord(), _CA_PCI_Read_Config_Word(), _CA_PCI_Write_Config_DWord(), _CA_PCI_Write_Config_Word()