CVS commit: src/sys/arch/powerpc/powerpc
"Radoslaw Kujawa" <[email protected]> Thu, 30 Jul 2026 14:41:00 +0000
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: rkujawa Date: Thu Jul 30 14:41:00 UTC 2026 Modified Files: src/sys/arch/powerpc/powerpc: bus_dma.c Log Message: Don't forget to advance within the segment in _bus_dmamap_load_raw. This went unnoticed, because the function is rarely used. While it is wired in PowerPC DMA routines, no PowerPC specific drivers actually use it. It only appears in a few MI drivers. With small _dm_segcnt, load just failed with EFBIG, with large value all segments pointed to the same page, which resulted in corrupting the transfer. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/arch/powerpc/powerpc/bus_dma.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.