summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@nexenta.com>2011-01-19 08:12:06 -0800
committerGarrett D'Amore <garrett@nexenta.com>2011-01-19 08:12:06 -0800
commitbd155b874f56414651e34337b5f87633bfe59741 (patch)
treef87311c60a91b28fdeaa01895b38a5e467ea3d0b
parentc7c6ab2a4af23be725dea6dacf112b0b9f3fe26f (diff)
downloadillumos-joyent-bd155b874f56414651e34337b5f87633bfe59741.tar.gz
612 apparent reversal of dvma vs. dma in rootnex
Reviewed by: gwr@nexenta.com Reviewed by: trisk@nexenta.com Approved by: trisk@nexenta.com
-rw-r--r--usr/src/uts/i86pc/io/rootnex.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/io/rootnex.c b/usr/src/uts/i86pc/io/rootnex.c
index fe3f219170..da4253f1b7 100644
--- a/usr/src/uts/i86pc/io/rootnex.c
+++ b/usr/src/uts/i86pc/io/rootnex.c
@@ -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 @@ rootnex_coredma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle,
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