diff options
author | Garrett D'Amore <garrett@damore.org> | 2012-03-01 15:25:51 -0800 |
---|---|---|
committer | John Sonnenschein <johns@joyent.com> | 2012-03-13 05:59:59 +0000 |
commit | ebd8e18a24c1af1126094ef0e33bfa00c4532f30 (patch) | |
tree | 3608ab17cdb0c2ff6ac47c70d92f7110347f3182 /usr/src/uts/common/os/devcfg.c | |
parent | 333ba2f854ec0fbdc6d44025f6bfcf9f3093e40b (diff) | |
download | illumos-joyent-ebd8e18a24c1af1126094ef0e33bfa00c4532f30.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>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/common/os/devcfg.c')
-rw-r--r-- | usr/src/uts/common/os/devcfg.c | 9 |
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; |