cvs commit: src/sys/i386/i386 busdma_machdep.c

Scott Long scottl at samsco.org
Sat Jul 3 11:22:43 PDT 2004


Scott Long wrote:
> scottl      2004-07-03 18:18:36 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/i386/i386        busdma_machdep.c 
>   Log:
>   Commit the first of half of changes that allow busdma to transparently
>   honor the alignment and boundary constraints in the dma tag when loading
>   buffers.


Once this is done on all platforms, drivers like twe(4) will no longer 
need to manually check and correct alignment.  This might involve a 
small API change to busdma, however.  I'm thinking about adding a
segment_length argument to the filter callback to give drivers more
flexibility.

Scott


More information about the cvs-all mailing list