Index Index for
Section 9r
Index Alphabetical
listing for D
Bottom of page Bottom of
page

do_config(9r)

NAME

do_config - EISA/ISA: Initializes the device to its assigned configuration

SYNOPSIS

void do_config( struct controller *ctlr_p );

ARGUMENTS

ctlr_p Specifies a pointer to the controller structure associated with the controller to be configured. The do_config routine obtains the device to initialize through its controller's associated controller structure pointer.

DESCRIPTION

The do_config routine initializes the specified controller based on its power-up resource assignments. If the device uses either an interrupt or a DMA channel, then do_config also performs any setup requirements. For example, for controllers that connect to the EISA bus, do_config initializes the controller according to the parameters specified in the EISA configuration file.

NOTES

The do_config routine is a generic interface that maps to a bus-specific interface that actually initializes the specified device. Using this routine to initialize a device makes the driver more portable across different bus architectures. Not all buses support the do_config routine.

RETURN VALUES

None

SEE ALSO

Routines: get_config(9r), get_info(9r) Data Structures: controller(9s)

Index Index for
Section 9r
Index Alphabetical
listing for D
Top of page Top of
page