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:
parent
28a274342e
commit
4e6d128bd8
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue