Subject: Re: Slight optimization for bus_dma(9) API.
To: None <>
From: Klaus Klein <>
List: tech-kern
Date: 07/19/2001 09:19:39
Jason R Thorpe <> writes:

> I would like to add 2 flags to the bus_dma(9) API, to be used with
> the bus_dmamap_load*() family of routines.
> 	BUS_DMA_INBOUND		Transfer is BUS->RAM direction.
> 	BUS_DMA_OUTBOUND	Transfer is RAM->BUS direction.

The only suggestion I can make is about the names... :-)

`Read' resp. `write' are now established terms in the bus_dma(9) scope
to express the direction of an operation, so I think reusing them in
these flags' names might be better than adding entirely new ones.

- Klaus