iPXE
Data Fields
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.
struct pci_class_id class
 PCI class ID.
int(* probe )(struct pci_device *pci)
 Probe device.
void(* remove )(struct pci_device *pci)
 Remove device.

Detailed Description

A PCI driver.

Definition at line 213 of file pci.h.


Field Documentation

PCI ID table.

Definition at line 215 of file pci.h.

Referenced by bofm_find_driver(), and pci_find_driver().

unsigned int pci_driver::id_count

Number of entries in PCI ID table.

Definition at line 217 of file pci.h.

Referenced by bofm_find_driver(), and pci_find_driver().

PCI class ID.

Definition at line 219 of file pci.h.

Referenced by pci_find_driver().

int( * pci_driver::probe)(struct pci_device *pci)

Probe device.

Parameters:
pciPCI device
Return values:
rcReturn status code

Definition at line 226 of file pci.h.

Referenced by pci_probe().

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

Remove device.

Parameters:
pciPCI device

Definition at line 232 of file pci.h.

Referenced by pci_remove().


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