pci_device Struct Reference

A PCI device. More...

#include <pci.h>


Data Fields

struct device dev
 Generic device.
unsigned long membase
 Memory base.
unsigned long ioaddr
 I/O address.
uint16_t vendor
 Vendor ID.
uint16_t device
 Device ID.
uint32_t class
 Device class.
uint8_t irq
 Interrupt number.
uint8_t bus
 Bus number.
uint8_t devfn
 Device and function number.
struct pci_driverdriver
 Driver for this device.
void * priv
 Driver-private data.
const char * driver_name
 Driver name.


Detailed Description

A PCI device.

Definition at line 282 of file pci.h.


Field Documentation

struct device pci_device::dev [read]

unsigned long pci_device::membase

Memory base.

This is the physical address of the first valid memory BAR.

Definition at line 289 of file pci.h.

Referenced by ath5k_probe(), atl1e_probe(), b44_probe(), linda_probe(), myri10ge_net_open(), pci_probe(), pci_read_bases(), prism2_pci_probe(), rtl8169_probe(), and sis190_init_board().

unsigned long pci_device::ioaddr

Device class.

Definition at line 301 of file pci.h.

Referenced by pcibus_probe(), and undipci_probe().

Driver for this device.

Definition at line 309 of file pci.h.

Referenced by forcedeth_probe(), pci_probe(), and pci_remove().

Driver-private data.

Use pci_set_drvdata() and pci_get_drvdata() to access this field.

Definition at line 315 of file pci.h.

Referenced by pci_get_drvdata(), and pci_set_drvdata().


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