cvs commit: src/sys/i386/i386 busdma_machdep.c
Scott Long
scottl at FreeBSD.org
Wed Jul 30 22:34:21 PDT 2003
scottl 2003/07/30 22:34:20 PDT
FreeBSD src repository
Modified files:
sys/i386/i386 busdma_machdep.c
Log:
Allocate the S/G list in the tag, not on the stack. The enforces the rule
that while many maps can exist and be loaded per tag, bus_dmamap_load() and
friends can only be called on one map at a time from the tag. This is
enforced via the mutex arguments in the tag.
Fixing this bug means that s/g lists can be arbitrarily long in length, and
also removes an ugly GNU-ism from the code. No API or ABI change is
incurred. Similar changes for other platforms is forthcoming.
Revision Changes Path
1.53 +32 -27 src/sys/i386/i386/busdma_machdep.c
More information about the cvs-src
mailing list