Kernel Functions for Drivers ddidmafreehandle(9F)
NAME
ddidmafreehandle - free DMA handle
SYNOPSIS
#include
#include
void ddidmafreehandle(ddidmahandlet *handle);
PARAMETERS
handle A pointer to the DMA handle previously allocated
by a call to ddidmaallochandle(9F).
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
DESCRIPTION
ddidmafreehandle() destroys the DMA handle pointed to by
handle. Any further references to the DMA handle will have
undefined results. Note that ddidmaunbindhandle(9F) must
be called prior to ddidmafreehandle() to free any
resources the system may be caching on the handle.
CONTEXT
ddidmafreehandle() can be called from user, kernel, or
interrupt context.
SEE ALSO
ddidmaallochandle(9F), ddidmaunbindhandle(9F)
Writing Device Drivers
SunOS 5.11 Last change: 26 Sep 1994 1
|