pci_bus_read_config_dword
Name
pci_bus_read_config_dword -- read a dword from a pci device
Synopsis
int pci_bus_read_config_dword
(struct pci_bus * bus, unsigned int devfn, int where, u32 * 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_dword
but works for pci devices that do not have a
pci_dev structure set up yet.
Returns 0 on success.