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

David S. Miller
2001-11-16T16:57:54Z

> 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