Kernel Functions for Drivers ddifmaccerrclear(9F)
NAME
ddifmaccerrclear, ddifmdmaerrclear - clear the error
status for an access or DMA handle
SYNOPSIS
#include
void ddifmaccerrclear(ddiacchandlet acchandle,
int version);
void ddifmdmaerrclear(ddidmahandlet dmahandle,
int version);
INTERFACE LEVEL
Solaris DI specific (Solaris DI)
PARAMETERS
acchandle Data access handle obtained from a previous
call to ddiregsmapsetup(9F),
ddidmamemalloc(9F), or to a similar func-
tion.
dmahandle DMA handle obtained from a previous call to
ddidmamemalloc(9F) or one of its deriva-
tives.
version Version number of ddifmerrort.
DESCRIPTION
The ddifmdmaerrclear() and ddifmaccerrclear() func-
tions clear the error status of a DMA or access handle
respectively.
Once cleared, the driver is again able to access the mapped
registers or memory using programmed I/O through the handle.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 10 May 2007 1
Kernel Functions for Drivers ddifmaccerrclear(9F)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
SEE ALSO
attributes(5), ddidmamemalloc(9F),
ddifmaccerrget(9F), ddifmdmaerrget(9F),
ddiregsmapsetup(9F)
Writing Device Drivers
SunOS 5.11 Last change: 10 May 2007 2
|