DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

init(D2pccard)


init -- initialize a loadable kernel module

Syntax

See init(D2) for syntax and general usage information about this entry point routine.

Usage

init( ) is called as an entry point routine for static (non-loadable) DDI 7 drivers and all SCO OpenServer 5 ODDI drivers. For DDI 8 drivers and loadable DDI 7 drivers, init( ) is not called as an entry point routine. Instead, device initialization is coded in the _load(D2pccard) entry point for DDI 7 loadable drivers and in the CFG_ADD subfunction to the config(D2pccard) subfunction for DDI 8 drivers. For maximum flexibility, code the PC Card device initialization functionality into a separate subroutine that can be called from the appropriate entry point to initialize the device.

The initialization code for a PC Card client-enabled driver must do the following:

The configuration code for a PC Card client-enabled driver must do the following:

Version applicability

pccard: 2 with ddi: 7, 7.1

Differences between versions

The init( ) entry point routine is not used for static (non-loadable) DDI 7 drivers. Code the driver initialization and device configuration functionality into the init(D2pccard) routine for static drivers. ( ) DDI 8 drivers only implement driver initialization functionality in the _load(D2pccard) entry point routine. Device configuration is implemented in the CFG_ADD subfunction to the config(D2pccard) entry point routine.

References

init(D2), init(D2mdi), init(D2oddi), init(D2sdi)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005