changeset 13268:b749961aba64

612 apparent reversal of dvma vs. dma in rootnex Reviewed by: gwr@nexenta.com Reviewed by: trisk@nexenta.com Approved by: trisk@nexenta.com
author Garrett D'Amore <garrett@nexenta.com>
date Wed, 19 Jan 2011 08:12:06 -0800
parents c0c901825468
children 52325acbd90e
files usr/src/uts/i86pc/io/rootnex.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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