Documentation: Compaq Tru64 UNIX Driver Development Tool
Documentation:
Driver Development Tool for Compaq Tru64 UNIX 5.0A
Summary
The Compaq Tru64 UNIX Device Driver Development Tool is a mechanism
to help developers get a quick start. You (the developer of the device
driver) must choose among the different device driver types. Each driver
type has a slightly different user interface. You start by entering the
driver name and directory and controller description. Then you select the
interfaces, features, and attributes that the resulting driver will have.
Multiple output files can be generated: the driver's .c file, the header
files, the files file, the sysconfigtab fragment, and more.
The following image is an example of the user interface forms.
The page consists of 2 areas:
The portion on the left contains option buttons to control
the output of the Driver Development Tool and the 'Create' button
to send the data to the executable via POST method. As you can
see, there are several templates to create for the specified driver.
The resulting templates can be viewed as colored HTML which
emphasizes certain C constructs and makes C comments lighter than
the actual C code. This is like the emacs color option. You
can also choose to view the resulting template as a plain text
file. This makes it easier for you to save the resulting template.
Otherwise, you can select the text in the resulting
color template in the Web browser window and paste the text into
a file.
The large portion on the right contains text fields
for template substitutions and checkboxes for conditional
includes. This is the main part of the form that changes
from driver type to driver type. Certain options can
be "grayed out" to indicate that they are not used in
this type of device driver. For example, pseudo drivers
do not interact with real hardware, so options like Bus Support
would be grayed out. This is of instructional importance.
Options that are mandatory are displayed in red; you must include
these options the resulting file. For example, the 'configure' routine.
Once the resulting files are created, modified and saved, you can select
the radio button 'build/link process' and press the 'Create' button.
This will display a list of commands that will compile and load your
new driver module into the kernel.