612 apparent reversal of dvma vs. dma in rootnex
authorGarrett D'Amore <garrett@nexenta.com>
Wed, 19 Jan 2011 08:12:06 -0800
changeset 13268 b749961aba64
parent 13267 c0c901825468
child 13269 52325acbd90e
612 apparent reversal of dvma vs. dma in rootnex Reviewed by: [email protected] Reviewed by: [email protected] Approved by: [email protected]
usr/src/uts/i86pc/io/rootnex.c
--- a/usr/src/uts/i86pc/io/rootnex.c	Wed Jan 19 08:06:56 2011 -0800
+++ b/usr/src/uts/i86pc/io/rootnex.c	Wed Jan 19 08:12:06 2011 -0800
@@ -21,6 +21,9 @@
 /*
  * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
  */
+/*
+ * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
+ */
 
 /*
  * x86 root nexus driver
@@ -4755,7 +4758,7 @@
 		return (DDI_FAILURE);
 	}
 
-	dmao = dma->dp_dvma_used ? &dma->dp_dma : &dma->dp_dvma;
+	dmao = dma->dp_dvma_used ? &dma->dp_dvma : &dma->dp_dma;
 
 	/*
 	 * if we don't have any windows, and they're asking for the first