undi.h File Reference

UNDI driver. More...

#include <gpxe/device.h>
#include <pxe_types.h>

Go to the source code of this file.

Data Structures

struct  undi_device
 An UNDI device. More...

Defines

#define UNDI_NO_PCI_BUSDEVFN   0xffff
 PCI bus:dev.fn field is invalid.
#define UNDI_NO_ISAPNP_CSN   0xffff
 ISAPnP card select number field is invalid.
#define UNDI_NO_ISAPNP_READ_PORT   0xffff
 ISAPnP read port field is invalid.
#define UNDI_FL_STARTED   0x0001
 UNDI flag: START_UNDI has been called.
#define UNDI_FL_INITIALIZED   0x0002
 UNDI flag: UNDI_STARTUP and UNDI_INITIALIZE have been called.
#define UNDI_FL_KEEP_ALL   0x0004
 UNDI flag: keep stack resident.

Functions

 FILE_LICENCE (GPL2_OR_LATER)
static void undi_set_drvdata (struct undi_device *undi, void *priv)
 Set UNDI driver-private data.
static void * undi_get_drvdata (struct undi_device *undi)
 Get UNDI driver-private data.


Detailed Description

UNDI driver.

Definition in file undi.h.


Define Documentation

#define UNDI_NO_PCI_BUSDEVFN   0xffff

PCI bus:dev.fn field is invalid.

Definition at line 89 of file undi.h.

Referenced by undi_load(), and undibus_probe().

#define UNDI_NO_ISAPNP_CSN   0xffff

ISAPnP card select number field is invalid.

Definition at line 92 of file undi.h.

Referenced by undi_load(), undi_load_pci(), and undibus_probe().

#define UNDI_NO_ISAPNP_READ_PORT   0xffff

ISAPnP read port field is invalid.

Definition at line 95 of file undi.h.

Referenced by undi_load_pci().

#define UNDI_FL_STARTED   0x0001

UNDI flag: START_UNDI has been called.

Definition at line 98 of file undi.h.

Referenced by undinet_probe(), and undinet_remove().

#define UNDI_FL_INITIALIZED   0x0002

UNDI flag: UNDI_STARTUP and UNDI_INITIALIZE have been called.

Definition at line 101 of file undi.h.

Referenced by undinet_probe(), and undinet_remove().

#define UNDI_FL_KEEP_ALL   0x0004

UNDI flag: keep stack resident.

Definition at line 104 of file undi.h.

Referenced by get_cached_dhcpack(), undinet_remove(), and undionly_shutdown().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

static void undi_set_drvdata ( struct undi_device undi,
void *  priv 
) [inline, static]

Set UNDI driver-private data.

Parameters:
undi UNDI device
priv Private data

Definition at line 72 of file undi.h.

References undi_device::priv.

Referenced by undinet_probe().

00072                                                                              {
00073         undi->priv = priv;
00074 }

static void* undi_get_drvdata ( struct undi_device undi  )  [inline, static]

Get UNDI driver-private data.

Parameters:
undi UNDI device
Return values:
priv Private data

Definition at line 82 of file undi.h.

References undi_device::priv.

Referenced by undinet_remove().

00082                                                                    {
00083         return undi->priv;
00084 }


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