70 if ( ! undi->
entry.segment ) {
71 DBG (
"No preloaded UNDI device found!\n" );
#define PCI_FUNC(busdevfn)
#define PCI_BUS(busdevfn)
struct arbelprm_rc_send_wqe rc
#define list_add(new, head)
Add a new entry to the head of a list.
static int undibus_probe(struct root_device *rootdev)
Probe UNDI root bus.
int undinet_probe(struct undi_device *undi, struct device *dev)
Probe UNDI device.
static void undionly_shutdown(int booting)
Prepare for exit.
#define UNDI_NO_ISAPNP_CSN
ISAPnP card select number field is invalid.
static void undibus_remove(struct root_device *rootdev __unused)
Remove UNDI root bus.
UNDI network device driver.
struct device dev
Device chain.
unsigned int vendor
Vendor ID.
struct device * parent
Bus device.
#define STARTUP_LATE
Late startup.
void undinet_remove(struct undi_device *undi)
Remove UNDI device.
UINT16_t isapnp_csn
ISAPnP card select number, or UNDI_NO_ISAPNP_CSN.
static struct device undibus_dev
UNDI root bus device.
A startup/shutdown function.
#define list_del(list)
Delete an entry from a list.
#define BUS_TYPE_PCI
PCI bus type.
#define __unused
Declare a variable or data structure as unused.
#define UNDI_FL_KEEP_ALL
UNDI flag: keep stack resident.
const char * driver_name
Driver name.
unsigned int location
Location.
SEGOFF16_t entry
Entry point.
UINT16_t pci_device
PCI device ID.
#define PCI_SLOT(busdevfn)
struct list_head siblings
Devices on the same bus.
UINT16_t pci_vendor
PCI vendor ID.
#define ENODEV
No such device.
#define UNDI_NO_PCI_BUSDEVFN
PCI bus:dev.fn field is invalid.
struct startup_fn startup_undionly __startup_fn(STARTUP_LATE)
int(* probe)(struct root_device *rootdev)
Add root device.
UINT16_t pci_busdevfn
PCI bus:dev.fn, or UNDI_NO_PCI_BUSDEVFN.
#define INIT_LIST_HEAD(list)
Initialise a list head.
unsigned int bus_type
Bus type.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
unsigned int device
Device ID.
struct root_device undi_root_device __root_device
UNDI bus root device.
struct list_head children
Devices attached to this device.
struct device_description desc
Device description.
int snprintf(char *buf, size_t size, const char *fmt,...)
Write a formatted string to a buffer.
#define DBG(...)
Print a debugging message.
static struct root_driver undi_root_driver
UNDI bus root device driver.
#define BUS_TYPE_ISAPNP
ISAPnP bus type.