prefix(D1)prefix(D1)NAMEprefix - driver prefixSYNOPSIS
int prefixclose();
int prefixopen();
. . .
DESCRIPTION
Every driver must define a unique prefix. This enables driver entry
points to be identified by configuration software and decreases the
possibility of global symbol collisions in the kernel.
USAGE
The prefix is usually specified in a configuration file. The maximum
length of the prefix is implementation-defined. Driver entry points
names are created by concatenating the driver prefix with the name for
the entry point.
Examples
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.
REFERENCESdevflag(D1), info(D1), close(D2), halt(D2), init(D2), intr(D2),
ioctl(D2), mmap(D2), open(D2), poll(D2), print(D2), put(D2), read(D2),
size(D2), srv(D2), start(D2), strategy(D2), unload(D2), write(D2)
Page 1