Bug #998
closedobsolete DMA driver interfaces should be removed
100%
Description
ddi_dma_segtocookie (and a bunch of friends) is an obsolete interface, never supported on 64-bit, and it causes a few #ifdef's for amd64 as there are hacks to override dmac_type to stash offsets in the cookies. We should just clean this up, and eliminate the plumbing -- its not used on any current hardware.
Additionally, ddi_dma_setup and some of its friends have been marked obsolete ~forever, and are not in use in any modern drivers that we are aware of.
There could be third party drivers that use them, but they have been warned for many years not to use these interfaces, and we are not aware of any consumers of them. (And we have looked.)
Updated by Garrett D'Amore about 10 years ago
- Subject changed from ddi_dma_segtocookie should be removed to obsolete DMA driver interfaces should be removed
Updated by Garrett D'Amore about 10 years ago
- Status changed from New to Resolved
- % Done changed from 10 to 100
Resolved in:
changeset: 13630:76b4d0b12a17
tag: tip
user: Garrett D'Amore <garrett@damore.org>
date: Thu Mar 01 15:25:51 2012 -0800
description:
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>
Updated by Garrett D'Amore about 10 years ago
- Status changed from Resolved to In Progress
Reopening this as it was backed out due to 2221.
Updated by Garrett D'Amore about 10 years ago
- Status changed from In Progress to Resolved
Updated by Garrett D'Amore about 10 years ago
changeset: 13636:776c3d9cae69
tag: tip
user: Garrett D'Amore <garrett@damore.org>
date: Sun Mar 11 22:00:47 2012 -0700
description:
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>