pci_setup_device

Section: Kernel Hacker's Manual (9)
Updated: pci_setup_device
Index Return to Main Contents
 

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


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 04:00:26 GMT, June 12, 2005