iPXE
Data Fields
pci_driver Struct Reference

A PCI driver. More...

#include <pci.h>

Data Fields

struct pci_device_idids
 PCI ID table. More...
 
unsigned int id_count
 Number of entries in PCI ID table. More...
 
struct pci_class_id class
 PCI class ID. More...
 
int(* probe )(struct pci_device *pci)
 Probe device. More...
 
void(* remove )(struct pci_device *pci)
 Remove device. More...
 

Detailed Description

A PCI driver.

Definition at line 247 of file pci.h.

Field Documentation

◆ ids

struct pci_device_id* pci_driver::ids

PCI ID table.

Definition at line 249 of file pci.h.

Referenced by bofm_find_driver(), and pci_find_driver().

◆ id_count

unsigned int pci_driver::id_count

Number of entries in PCI ID table.

Definition at line 251 of file pci.h.

Referenced by bofm_find_driver(), and pci_find_driver().

◆ class

struct pci_class_id pci_driver::class

PCI class ID.

Definition at line 253 of file pci.h.

Referenced by efi_veto_hp_xhci(), and pci_find_driver().

◆ probe

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

Probe device.

Parameters
pciPCI device
Return values
rcReturn status code

Definition at line 260 of file pci.h.

Referenced by pci_probe().

◆ remove

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

Remove device.

Parameters
pciPCI device

Definition at line 266 of file pci.h.

Referenced by pci_remove().


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