CVSROOT: /cvs Module name: src Changes by: [email protected] 2021/06/26 04:47:59
Modified files:
sys/dev/fdt : if_cad.c
Log message:
cad: Implement 64-bit DMA mode
This lets the driver utilize 64-bit DMA on hardware that supports it.
Currently, riscv64 does not constrain DMA-reachable memory to the 32-bit
range. This caused memory errors with cad(4) on machines that have RAM
above 4GB in the physical address space.
Prompted by Mickael Torres
OK kettenis@
