pci_setup_device
Name
pci_setup_device -- fill in class and map information of a device
Synopsis
int pci_setup_device
(struct pci_dev * dev);
Arguments
dev
the device structure to fill
Description
Initialize the device structure with information about the device's
vendor,class,memory and IO-space addresses,IRQ lines etc.
Called at initialisation of the PCI subsystem and by CardBus services.
Returns 0 on success and -1 if unknown type of device (not normal, bridge
or CardBus).