pci_bus_read_config_word(9)
NAME
pci_bus_read_config_word - read a word from a pci device
SYNOPSIS
int pci_bus_read_config_word (struct pci_bus *bus, unsigned int devfn, int where, u16 *value);
ARGUMENTS
- bus pointer to the parent bus of the pci device
- to read from
- devfn the device / function of the pci device to
- read from
- where the location on the pci address space to read
- from
- value pointer to where to place the data read
DESCRIPTION
- Like pci_read_config_word but works for pci devices that
do not have a pci_dev structure set up yet. Returns 0 on
success.