Re: [PARPORT] Re: Parport & DMA -- patch-2.2.7-tmw3


Tim Waugh (tim@cyberelk.demon.co.uk)
Tue, 11 May 1999 23:50:55 +0100 (GMT)


On Tue, 11 May 1999, Philip Blundell wrote:

> I think I'd prefer it backwards - the low-level driver provides a flag
> that says its buffers need to be DMA-able (or even just a set of GFP
> flags that you can OR into the argument to kmalloc). A high level
> driver has no sensible way to decide on its own whether to allocate
> buffers that are suitable for DMA or not.

Okay. By what mechanism? Changing attach(), perhaps?

void (*attach) (struct parport *port, int gfp)

Tim.
*/

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Tue 11 May 1999 - 18:57:21 EDT