pci_driver Struct Reference

A PCI driver. More...

#include <pci.h>


Data Fields

struct pci_device_idids
 PCI ID table.
unsigned int id_count
 Number of entries in PCI ID table.
int(* probe )(struct pci_device *pci, const struct pci_device_id *id)
 Probe device.
void(* remove )(struct pci_device *pci)
 Remove device.


Detailed Description

A PCI driver.

Definition at line 321 of file pci.h.


Field Documentation

PCI ID table.

Definition at line 323 of file pci.h.

Referenced by forcedeth_probe(), and pci_probe().

unsigned int pci_driver::id_count

Number of entries in PCI ID table.

Definition at line 325 of file pci.h.

Referenced by forcedeth_probe(), and pci_probe().

int( * pci_driver::probe)(struct pci_device *pci, const struct pci_device_id *id)

Probe device.

Parameters:
pci PCI device
id Matching entry in ID table
Return values:
rc Return status code

Referenced by pci_probe().

void( * pci_driver::remove)(struct pci_device *pci)

Remove device.

Parameters:
pci PCI device

Referenced by pci_remove().


The documentation for this struct was generated from the following file:

Generated on Tue Apr 6 20:02:07 2010 for gPXE by  doxygen 1.5.7.1