summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvgadre <none@none>2005-10-26 07:06:19 -0700
committervgadre <none@none>2005-10-26 07:06:19 -0700
commitb6ec8a57bab66cedfc6fa503735ea3a998263eca (patch)
tree56c29edda60a6b2d4639967c99a8eaa6a462cb9f
parent6451fdbca2f79129a3a09d2fe3f6dd4d062bebff (diff)
downloadillumos-joyent-b6ec8a57bab66cedfc6fa503735ea3a998263eca.tar.gz
6330278 px_dma_allocmp does not initialize dmai_error
-rw-r--r--usr/src/uts/sun4/io/px/px_dma.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/uts/sun4/io/px/px_dma.c b/usr/src/uts/sun4/io/px/px_dma.c
index 4a2cdeb607..b6fefa1d62 100644
--- a/usr/src/uts/sun4/io/px/px_dma.c
+++ b/usr/src/uts/sun4/io/px/px_dma.c
@@ -105,6 +105,13 @@ px_dma_allocmp(dev_info_t *dip, dev_info_t *rdip, int (*waitfp)(caddr_t),
mp->dmai_fault = 0;
mp->dmai_fault_check = NULL;
mp->dmai_fault_notify = NULL;
+
+ mp->dmai_error.err_ena = 0;
+ mp->dmai_error.err_status = DDI_FM_OK;
+ mp->dmai_error.err_expected = DDI_FM_ERR_UNEXPECTED;
+ mp->dmai_error.err_ontrap = NULL;
+ mp->dmai_error.err_fep = NULL;
+
return (mp);
}