Re: struct page to 36 (or 64) bit bus address?

From: Johannes Erdfelt (johannes@erdfelt.com)
Date: Thu Aug 09 2001 - 15:35:32 EST


On Thu, Aug 09, 2001, David S. Miller <davem@redhat.com> wrote:
>
> Alan Cox writes:
> > > Obviously the more portable way across architectures is using the PCI
> > > DMA API but when will the implementation be fixed so I can use it to
> > > exploit the full potential of this device?
> >
> > 2.5 I believe, ping the peacefrog and ask <DaveM@redhat.com>
>
> That's the current plan. There may be a 2.4.x backport, but no
> promises. It all depends upon how straightforward the changes
> are.

It's not a big deal. It's just less efficient which isn't the end of the
world.

> Note, if you use the "bttv method" (ie. virt_to_bus) your driver will
> then fail to compile on several platforms.

So noted. I already have a PCI DMA API version, but I wanted to code up
a "i have an i386 and gigs of memory" version as well.

JE

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Aug 15 2001 - 21:00:29 EST