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

Tim Waugh (
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)


-- To unsubscribe, send mail to: --
-- 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