Provided by: kernel-doc-2.4.27_2.4.27-12_all bug

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).