prefix(D1DK) —
NAME
prefix − driver prefix
SYNOPSIS
int prefixclose();
int prefixopen();
...
DESCRIPTION
Every driver must define a unique prefix whose maximum length is four characters. The prefix is usually specified in a configuration file. Driver entry points names are created by concatenating the driver prefix with the name for the entry point. This enables driver entry points to be identified by configuration software and decreases the possibility of global symbol collisions in the kernel.
SEE ALSO
devflag(D1DK), info(D1DK), chpoll(D2DK), close(D2DK), halt(D2DK), init(D2DK), intr(D2DK), ioctl(D2DK), mmap(D2DK), open(D2DK), print(D2DK), put(D2DK), read(D2DK), size(D2DK), srv(D2DK), start(D2DK), strategy(D2DK), write(D2DK), master(4)
EXAMPLE
An ETHERNET driver might use a driver prefix of “en.” It would define the following entry points: enclose, eninit, enintr, enopen, enwput, enrsrv, and enwsrv. It would also define the data symbols endevflag and eninfo.
DDI/DKI