mpi3mr: Fix MAXPHYS usage

This usage is obsolete. Replace with maximum bus space size. maxphys
will sort itself out at higher levels.

Reviewed by:		mav, jhb, imp
Differential Revision:	https://reviews.freebsd.org/D42605

(cherry picked from commit 4e6d128bd823e5b5d0b058f918c7036978a0e8bf)
This commit is contained in:
Alexander Motin 2023-11-28 18:50:24 -07:00
parent 835db41823
commit c8afd30bdb

View file

@ -4947,9 +4947,9 @@ mpi3mr_alloc_requests(struct mpi3mr_softc *sc)
sc->dma_loaddr, /* lowaddr */
sc->dma_hiaddr, /* highaddr */
NULL, NULL, /* filter, filterarg */
MAXPHYS,/* maxsize */
BUS_SPACE_MAXSIZE, /* maxsize */
nsegs, /* nsegments */
MAXPHYS,/* maxsegsize */
BUS_SPACE_MAXSIZE_32BIT,/* maxsegsize */
BUS_DMA_ALLOCNOW, /* flags */
busdma_lock_mutex, /* lockfunc */
&sc->io_lock, /* lockarg */