2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH DDI_FM_ACC_ERR_CLEAR 9F "May 10, 2007"
8 ddi_fm_acc_err_clear, ddi_fm_dma_err_clear \- clear the error status for an
13 #include <sys/ndifma.h>
15 \fBvoid\fR \fBddi_fm_acc_err_clear\fR(\fBddi_acc_handle_t\fR \fIacc_handle\fR,
16 \fBint\fR \fIversion\fR);
21 \fBvoid\fR \fBddi_fm_dma_err_clear\fR(\fBddi_dma_handle_t\fR \fIdma_handle\fR,
22 \fBint\fR \fIversion\fR);
28 Solaris DDI specific (Solaris DDI)
33 \fB\fIacc_handle\fR\fR
36 Data access handle obtained from a previous call to
37 \fBddi_regs_map_setup\fR(9F), \fBddi_dma_mem_alloc\fR(9F), or to a similar
44 \fB\fIdma_handle\fR\fR
47 \fBDMA\fR handle obtained from a previous call to \fBddi_dma_mem_alloc\fR(9F)
48 or one of its derivatives.
57 Version number of \fBddi_fm_error_t\fR.
63 The \fBddi_fm_dma_err_clear()\fR and \fBddi_fm_acc_err_clear()\fR functions
64 clear the error status of a \fBDMA\fR or access handle respectively.
67 Once cleared, the driver is again able to access the mapped registers or memory
68 using programmed \fBI/O\fR through the handle.
72 See \fBattributes\fR(5) for descriptions of the following attributes:
80 ATTRIBUTE TYPE ATTRIBUTE VALUE
82 Interface Stability Committed
88 \fBattributes\fR(5), \fBddi_dma_mem_alloc\fR(9F), \fBddi_fm_acc_err_get\fR(9F),
89 \fBddi_fm_dma_err_get\fR(9F), \fBddi_regs_map_setup\fR(9F)
92 \fIWriting Device Drivers\fR