aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlfredo Dal'Ava Junior <alfredo@FreeBSD.org>2021-02-05 18:43:48 +0000
committerAlfredo Dal'Ava Junior <alfredo@FreeBSD.org>2021-02-05 18:43:48 +0000
commit59fffbcf46ba6369420e655ff9173571410c643d (patch)
treea05dbfd1b211178bfb4638bc14e3640069dfc62c /sys
parent35e39fd95fda64699b638192f3bab955d0f1cf0c (diff)
downloadsrc-59fffbcf46ba6369420e655ff9173571410c643d.tar.gz
src-59fffbcf46ba6369420e655ff9173571410c643d.zip
mrsas: unbreak i386 build
Fix build regression introduced by e34a057ca6ebdf8e30ec8b0dc21d18eb450bf36a Reviewed by: jhibbits Sponsored by: Eldorado Research Institute (eldorado.org.br) Differential Revision: https://reviews.freebsd.org/D28494
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/mrsas/mrsas.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/mrsas/mrsas.c b/sys/dev/mrsas/mrsas.c
index f4c34e237fc4..01173387c8d4 100644
--- a/sys/dev/mrsas/mrsas.c
+++ b/sys/dev/mrsas/mrsas.c
@@ -2782,9 +2782,7 @@ mrsas_ioc_init(struct mrsas_softc *sc)
init_frame->queue_info_new_phys_addr_lo = htole32(phys_addr);
init_frame->data_xfer_len = htole32(sizeof(Mpi2IOCInitRequest_t));
- req_desc.addr.u.low = htole32((bus_addr_t)sc->ioc_init_phys_mem & 0xFFFFFFFF);
- req_desc.addr.u.high = htole32((bus_addr_t)sc->ioc_init_phys_mem >> 32);
-
+ req_desc.addr.Words = htole64((bus_addr_t)sc->ioc_init_phys_mem);
req_desc.MFAIo.RequestFlags =
(MRSAS_REQ_DESCRIPT_FLAGS_MFA << MRSAS_REQ_DESCRIPT_FLAGS_TYPE_SHIFT);