There are several DART variants; print some more details such that we can
authorkettenis <kettenis@openbsd.org>
Sat, 20 Jan 2024 11:22:46 +0000 (11:22 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 20 Jan 2024 11:22:46 +0000 (11:22 +0000)
commitb4036ef4b40be7898009394bcf963373dfb687fb
treea2071475d6b8179c68a5f48504d6db61212259f6
parent33213af0ffa20aff026286f019e4f7e363b1423f
There are several DART variants; print some more details such that we can
distinguish between them.  Pay attention to the apple,dma-range property
that tells us the desired DVA window.  Add support for a new BUS_DMA_FIXED
that allows use of bus_dmamap_load_raw(9) to map things at a pre-determined
DVA.  This last change is needed for the upcoming Apple KMS driver.
Hopefully that is the only driver that will need this, so don't attempt to
turn this into an MI feature.

ok patrick@
sys/arch/arm64/dev/apldart.c
sys/arch/arm64/include/bus.h