Kernel Functions for Drivers ddi_fm_acc_err_clear(9F)
NAME
ddi_fm_acc_err_clear, ddi_fm_dma_err_clear - clear the error
status for an access or DMA handleSYNOPSIS
#include
void ddi_fm_acc_err_clear(ddi_acc_handle_t acc_handle,
int version);void ddi_fm_dma_err_clear(ddi_dma_handle_t dma_handle,
int version);INTERFACE LEVEL
Solaris DDI specific (Solaris DDI)PARAMETERS
acc_handle Data access handle obtained from a previous
call to ddi_regs_map_setup(9F),
ddi_dma_mem_alloc(9F), or to a similar func-
tion.dma_handle DMA handle obtained from a previous call to
ddi_dma_mem_alloc(9F) or one of its deriva-
tives.version Version number of ddi_fm_error_t.
DESCRIPTION
The ddi_fm_dma_err_clear() and ddi_fm_acc_err_clear() func-
tions clear the error status of a DMA or access handle respectively. Once cleared, the driver is again able to access the mappedregisters or memory using programmed I/O through the handle.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 10 May 2007 1
Kernel Functions for Drivers ddi_fm_acc_err_clear(9F)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
SEE ALSO
attributes(5), ddi_dma_mem_alloc(9F),
ddi_fm_acc_err_get(9F), ddi_fm_dma_err_get(9F),
ddi_regs_map_setup(9F)
Writing Device DriversSunOS 5.11 Last change: 10 May 2007 2