freebsd-dev/sys/riscv
Doug Moore f1e7a532d1 busdma: _bus_dmamap_addseg repaired
A recent change introduced a one-off error into a test allowing
coalescing chunks into segments.  This fixes that error.

broke a check in _bus_dmamap_addseg on many architectures. This change makes it clear that it is not a particular range that is being boundary-checked, but the proposed union of the two adjacent ranges.
Reported by:	se
Reviewed by:	se
Fixes:	c606ab59e7 vm_extern: use standard address checkers everywhere
Differential Revision:	https://reviews.freebsd.org/D33715
2022-01-02 12:37:05 -06:00
..
conf Add a COMPAT_FREEBSD13 kernel option 2021-11-17 03:08:40 +01:00
include Simplify swi for bus_dma. 2021-12-28 13:51:25 -08:00
riscv busdma: _bus_dmamap_addseg repaired 2022-01-02 12:37:05 -06:00
sifive sifive_spi: Add missing case for SPIBUS_MODE_NONE 2021-08-30 23:38:02 +01:00