devflag(D1DK) —
.IX \f4devflag\fP(D1DK)
NAME
devflag − driver flags
SYNOPSIS
#include <sys/conf.h>
int prefixdevflag;
DESCRIPTION
Every new-style driver must define a global integer containing a bitmask of flags that indicate its characteristics to the system. The valid flags that may be set are:
D_DMAThe driver does DMA (Direct Memory Access).
D_NOBRKUP
The I/O job is not broken up along page boundaries into multiple jobs by the kernel.
D_NEWThe driver is a new-style driver.
D_OLDThe driver is an old-style driver and the kernel should act accordingly to preserve compatibility.
Prefixdevflag must have one of D_OLD or D_NEW set but not both. All other flags are optional.
DDI