DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring SVR5 MDI drivers

Driver Software Package (DSP) contents

The Driver Software Package (DSP) for MDI drivers consists of a set of files located under the driver's <preface>.cf directory in the handoff directory. idinstall installs these files in the linkkit hierarchy (typically /etc/conf). For examples of these files, see the sample code in HDK code samples.

The head of the directory hierarchy should be named to match the ``drvname'' field in the Master(DSP/4dsp) and System(DSP/4dsp) files. This main directory should include:


driver source code(s)
These may be named anything meaningful. The cc compiler expects all C language source files to have a .c suffix, and any assembly language source files to have a .s suffix, but no other naming conventions are enforced.

driver header file(s)
Driver-specific header files must have a .h suffix but no other naming conventions are enforced.

driver .mk file
puts the Driver.o file in the <driver>.cf subdirectory but must be located in the same directory as the source and header files.

A subdirectory to the top-level driver directory contains the actual DSP files. The name of this directory must be the ``drvname'' value with a .cf suffix. So, if ``drvname'' is mydriv, this subdirectory is named mydriv.cf. It must contain the following files:

See the idinstall manual page for information about other configuration data.


© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005