[parisc-linux] Re: parisc scatterlist doesn't want page/offset

David S. Miller davem@redhat.com
Fri, 16 Nov 2001 08:57:54 -0800 (PST)


   From: Grant Grundler <grundler@puffin.external.hp.com>
   Date: Fri, 16 Nov 2001 09:32:52 -0700

   > I suggest you do this now, it is totally painless.  I would almost
   > classify it as a mindless edit.
   
   Adding two members to a struct is not the problem.
   The problem is revisiting every usage of ->address in the DMA code
   and telling driver writers they should be using page+offset.
   
Note the "should", nobody forces them to use page+offset in
a driver and 2.4.x will NEVER require it.  They just won't
be able to DMA highmem pages, that's all.

The DMA code is so simple to fix ("mindless edit" is still how I
classify it) and you have _THREE_ (count them, 3) platform IOMMU code
patch examples to work with (alpha, sparc64, ia64).

Franks a lot,
David S. Miller
davem@redhat.com