summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/devcfg.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2012-03-11 22:00:47 -0700
committerGarrett D'Amore <garrett@damore.org>2012-03-11 22:00:47 -0700
commitcd21e7c548ae2a3b5e522244bf798f2a6b4ba02d (patch)
tree407cc0857b2bfb1e15ba3dc275938511a9165221 /usr/src/uts/common/os/devcfg.c
parentb30a53d02d9bc370d76b8125a98e34311c768b5e (diff)
downloadillumos-joyent-cd21e7c548ae2a3b5e522244bf798f2a6b4ba02d.tar.gz
998 obsolete DMA driver interfaces should be removed
Reviewed by: Igor Khozhukhov <igor.khozhukhov@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/uts/common/os/devcfg.c')
-rw-r--r--usr/src/uts/common/os/devcfg.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr/src/uts/common/os/devcfg.c b/usr/src/uts/common/os/devcfg.c
index b2f6db6cdd..d11c6fb7b7 100644
--- a/usr/src/uts/common/os/devcfg.c
+++ b/usr/src/uts/common/os/devcfg.c
@@ -20,9 +20,8 @@
*/
/*
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
- */
-/*
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2012 Garrett D'Amore <garrett@damore.org>. All rights reserved.
*/
#include <sys/note.h>
@@ -3185,7 +3184,6 @@ ddi_optimize_dtree(dev_info_t *devi)
* Set the unoptimized values
*/
DEVI(devi)->devi_bus_map_fault = pdevi;
- DEVI(devi)->devi_bus_dma_map = pdevi;
DEVI(devi)->devi_bus_dma_allochdl = pdevi;
DEVI(devi)->devi_bus_dma_freehdl = pdevi;
DEVI(devi)->devi_bus_dma_bindhdl = pdevi;
@@ -3212,11 +3210,6 @@ ddi_optimize_dtree(dev_info_t *devi)
"bus_map_fault");
}
- if (ddi_dma_map == b->bus_dma_map) {
- DEVI(devi)->devi_bus_dma_map = pdevi->devi_bus_dma_map;
- debug_dtree(devi, DEVI(devi)->devi_bus_dma_map, "bus_dma_map");
- }
-
if (ddi_dma_allochdl == b->bus_dma_allochdl) {
DEVI(devi)->devi_bus_dma_allochdl =
pdevi->devi_bus_dma_allochdl;