612 apparent reversal of dvma vs. dma in rootnex
Reviewed by:
[email protected]
Reviewed by:
[email protected]
Approved by:
[email protected]
--- 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