Controlling the order of driver initialization
Occasionally drivers need to control the order
in which they are loaded,
usually because one driver has a dependency
on another driver.
DDI drivers specify this in their
Master(DSP/4dsp)
files:
All DDI 8 and loadable drivers-
Populate the ``$depend'' field in the Master file.
For example, if the Master file for Driver A
contains $depend B,
the Driver B will be initialized before Driver A.
Pre-DDI 8 statically-loaded drivers-
Set the ``order'' field in the Master file
to a non-zero value to specify the sequence in which the module's
init( )
and
start( )
routines are called.
Higher-numbered positive values are initialized
before lower values.
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005