The buffer DMA tag was set to 32 bit maximum bus space, or roughly
4GB of memory. Not only is this excessive, but it also consumes
the entire bounce buffer region in low memory, starving any other
DMA-capable devices that attempt to attach after mpr0 attaches.
Add a tunable for DMA buffer size, and set to 64 * MAXPHYS as a
sane default.
Tested to function normally on a Raptor Computing Systems Blackbird
with an LSI SAS3008 controller and Seagate 500GB SATA drive.
Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
Sponsored-by: Raptor Computing Systems, LLC