Re: [RFC] generic device DMA implementation

From: Miles Bader (miles@gnu.org)
Date: Fri Dec 06 2002 - 12:48:43 EST


On Fri, Dec 06, 2002 at 10:26:57AM -0600, James Bottomley wrote:
> I'm not so keen on this. The idea of this parameter is not to tell the
> allocation routine what type of memory you would like, but to tell it what
> type of memory the driver can cope with. I think for the inconsistent case,
> DMA_INCONSISTENT looks like the driver is requiring inconsistent memory, and
> expecting to get it.

Of course if they're flags, then `DMA_CONSISTENT | DMA_INCONSISTENT'
is pretty obvious...

-Miles

-- 
P.S.  All information contained in the above letter is false,
      for reasons of military security.
-
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 : Sat Dec 07 2002 - 22:00:27 EST