cvs commit: src/sys/dev/fatm if_fatm.c

Maxime Henrion mux at freebsd.org
Wed Jul 2 07:05:03 PDT 2003


Hartmut Brandt wrote:
> harti       2003/07/02 06:53:41 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/fatm         if_fatm.c 
>   Log:
>   Make the bus_dma_tag_create use NULL for the lock arguments. We are
>   careful to call all map_load calls with BUS_DMA_NOWAIT because we
>   really don't want some PDUs to wait while others go out - ATM guarantees
>   the ordering of cells and also of PDUs (within one VC, that is). With
>   BUS_DMA_NOWAIT bus_dmamap_load should never return EINPROGRESS.

FWIW, this is true since yesterday only, because I updated all the other
busdma backends which use bounce pages to behave this way.  Previously,
this was only true for x86 and amd64.

I'll document the BUS_DMA_NOWAIT flag for bus_dmamap_load() in bus_dma.9
soon.

Cheers,
Maxime


More information about the cvs-src mailing list