iPXE
device_description Struct Reference

A hardware device description. More...

#include <device.h>

Data Fields

unsigned int bus_type
 Bus type.
unsigned int location
 Location.
unsigned int vendor
 Vendor ID.
unsigned int device
 Device ID.
unsigned long class
 Device class.
unsigned long ioaddr
 I/O address.
unsigned int irq
 IRQ.

Detailed Description

A hardware device description.

Definition at line 20 of file device.h.

Field Documentation

◆ bus_type

◆ location

unsigned int device_description::location

Location.

The interpretation of this field is bus-type-specific.

Definition at line 30 of file device.h.

Referenced by dt_probe_node(), ehci_poll_companions(), gpios_find(), is_autoboot_busloc(), pci_read_config(), pxenv_undi_get_nic_type(), undibus_probe(), and usb_probe_all().

◆ vendor

unsigned int device_description::vendor

◆ device

unsigned int device_description::device

◆ class

unsigned long device_description::class

Device class.

Definition at line 36 of file device.h.

Referenced by pci_read_config(), and pxenv_undi_get_nic_type().

◆ ioaddr

unsigned long device_description::ioaddr

I/O address.

Definition at line 38 of file device.h.

Referenced by isapnpbus_probe(), pci_read_config(), and pxenv_undi_get_information().

◆ irq

unsigned int device_description::irq

IRQ.

Definition at line 40 of file device.h.

Referenced by isapnpbus_probe(), legacy_probe(), pci_read_config(), and pxenv_undi_get_information().


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