mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
835db41823
commit
c8afd30bdb
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue