Subject: Re: Slight optimization for bus_dma(9) API.
To: None <thorpej@zembu.com>
From: Klaus Klein <kleink@reziprozitaet.de>
List: tech-kern
Date: 07/19/2001 09:19:39
Jason R Thorpe <thorpej@zembu.com> 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