devflag(D1)devflag(D1)NAMEdevflag - driver flags
SYNOPSIS
#include <sys/conf.h>
#include <sys/ddi.h>
int prefixdevflag = 0;
DESCRIPTION
Every driver must define a global integer variable called prefixdevflag.
This variable contains a bitmask of flags used to specify the driver's
characteristics to the system.
The valid flags that may be set in prefixdevflag are:
D_MP The driver is multithreaded (it handles its own
locking and serialization).
D_WBACK Writes back cache before strategy routine.
D_OLD The driver uses the old-style interface (pre-5.0
release).
If no flags are set for the driver, then prefixdevflag should be set to
0. If this is not done, then lboot will assume that this is an old style
drive, and it will set D_OLD flag as a default.
REFERENCESphysiock(D3)
Page 1