intro(D1DK) —
NAME
intro − introduction to driver data
SYNOPSIS
#include <sys/types.h>
#include <sys/ddi.h>
DESCRIPTION
This section describes the data definitions a developer needs to include in a device driver. The system finds this information in configuration files in the directory /etc/master.d.
Each driver is uniquely identified by a prefix string specified in its configuration file. The name of all the driver-supplied routines and global variables should begin with this prefix. This will reduce the chance of a symbol collision with another driver. Any private routines defined by a driver that are not entry point routines should be declared as static. Also, any variables with a scope of a single driver source file should be declared as static.
NOTE
#include <sys/ddi.h> must always be the last header file included.
SEE ALSO
DDI/DKI