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
This commit is contained in:
Alexander Motin 2023-11-28 18:50:24 -07:00 committed by Warner Losh
parent 28a274342e
commit 4e6d128bd8
1 changed files with 2 additions and 2 deletions

View File

@ -4946,9 +4946,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 */