Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ intro(D1DK) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

master(4)

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

master(4). 

DDI/DKI

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026