cvs commit: src/sys/powerpc/powerpc busdma_machdep.c
Pyun YongHyeon
yongari at FreeBSD.org
Fri Jun 22 03:57:37 UTC 2007
yongari 2007-06-22 03:57:37 UTC
FreeBSD src repository
Modified files:
sys/powerpc/powerpc busdma_machdep.c
Log:
Reimplement bus_dmamap_load with bus_dmamap_load_buffer.
Previously it didn't honor parent dma tag's restrictions such that
an invalid dma segment could be passed to device. The driver for the
device may panic in sanity check routine for the dma segment or may
produce unexpected results. I have no idea how it could ever have
worked before.
Reviewed by: grehan
Tested by: gad
Approved by: re (hrs)
Revision Changes Path
1.28 +32 -68 src/sys/powerpc/powerpc/busdma_machdep.c
More information about the cvs-src
mailing list