[parisc-linux] tulip DMA mapping
David S. Miller
davem@redhat.com
Fri, 10 Nov 2000 02:16:11 -0800
Date: Fri, 10 Nov 2000 10:18:08 +0000
From: Matthew Wilcox <matthew@wil.cx>
> Should I be mailing Jeff Garzik <jgarzik@mandrakesoft.com> directly?
> Or can someone who knows Jeff point this out to him?
i've cc'd jeff & dave miller on this.
In 2.4.x there is _NO_ error return from the PCI dma functions except
the consistent DMA mapping ones.
This was an explicit design decision, the dynamic mapping functions
should never fail, and if they do it is a hard error.
Therefore no drivers need to check for failure, as far as they are
concerned, there is no failure.
So what is the issue? In 2.5.x I'll add an error return facility
(BTW: -1 ie. 0xfffffff would probably work as an error value on all
platforms :-)
Later,
David S. Miller
davem@redhat.com