device.h File Reference

Device model. More...

#include <gpxe/list.h>
#include <gpxe/tables.h>

Go to the source code of this file.

Data Structures

struct  device_description
 A hardware device description. More...
struct  device
 A hardware device. More...
struct  root_device
 A root device. More...
struct  root_driver
 A root device driver. More...

Defines

#define BUS_TYPE_PCI   1
 PCI bus type.
#define BUS_TYPE_ISAPNP   2
 ISAPnP bus type.
#define BUS_TYPE_EISA   3
 EISA bus type.
#define BUS_TYPE_MCA   4
 MCA bus type.
#define BUS_TYPE_ISA   5
 ISA bus type.
#define ROOT_DEVICES   __table ( struct root_device, "root_devices" )
 Root device table.
#define __root_device   __table_entry ( ROOT_DEVICES, 01 )
 Declare a root device.

Functions

 FILE_LICENCE (GPL2_OR_LATER)


Detailed Description

Device model.

Definition in file device.h.


Define Documentation

#define BUS_TYPE_PCI   1

PCI bus type.

Definition at line 41 of file device.h.

Referenced by efi_snp_netdev(), pcibus_probe(), pxenv_start_undi(), pxenv_undi_get_nic_type(), and undibus_probe().

#define BUS_TYPE_ISAPNP   2

ISAPnP bus type.

Definition at line 44 of file device.h.

Referenced by isapnpbus_probe(), pxenv_start_undi(), pxenv_undi_get_nic_type(), and undibus_probe().

#define BUS_TYPE_EISA   3

EISA bus type.

Definition at line 47 of file device.h.

Referenced by eisabus_probe().

#define BUS_TYPE_MCA   4

MCA bus type.

Definition at line 50 of file device.h.

Referenced by mcabus_probe().

#define BUS_TYPE_ISA   5

ISA bus type.

Definition at line 53 of file device.h.

Referenced by isabus_probe(), and t509bus_probe().

#define ROOT_DEVICES   __table ( struct root_device, "root_devices" )

Root device table.

Definition at line 108 of file device.h.

Referenced by probe_devices().

#define __root_device   __table_entry ( ROOT_DEVICES, 01 )

Declare a root device.

Definition at line 111 of file device.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 


Generated on Tue Apr 6 20:01:48 2010 for gPXE by  doxygen 1.5.7.1