prefix(D1) prefix(D1)
NAME
prefix - driver prefix
SYNOPSIS
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.
REFERENCES
devflag(D1), info(D1), chpoll(D2), close(D2), halt(D2),
init(D2), intr(D2), ioctl(D2), _load(D2), mmap(D2), open(D2),
put(D2), read(D2), size(D2), srv(D2), start(D2), strategy(D2),
_unload(D2), write(D2)
NOTICES
Portability
All processors
Copyright 1994 Novell, Inc. Page 1