aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2025-09-14 17:18:44 +0000
committerWarner Losh <imp@FreeBSD.org>2025-09-14 17:18:44 +0000
commita85adbcd3dee8d062bf49e1f713e718f59ec0e9f (patch)
treef161a047c3580e97aebb73877fc767922480ccd2 /sys
parent4b301f7e7ab43bb61561786c2ab33f3a3c4a725d (diff)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/mpi3mr/mpi3mr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mpi3mr/mpi3mr.c b/sys/dev/mpi3mr/mpi3mr.c
index 99edd3542619..4211529e76ad 100644
--- a/sys/dev/mpi3mr/mpi3mr.c
+++ b/sys/dev/mpi3mr/mpi3mr.c
@@ -2799,10 +2799,11 @@ retry_init:
U32 fault = mpi3mr_regread(sc, MPI3_SYSIF_FAULT_OFFSET) &
MPI3_SYSIF_FAULT_CODE_MASK;
- if (fault == MPI3_SYSIF_FAULT_CODE_INSUFFICIENT_PCI_SLOT_POWER)
+ if (fault == MPI3_SYSIF_FAULT_CODE_INSUFFICIENT_PCI_SLOT_POWER) {
mpi3mr_dprint(sc, MPI3MR_INFO,
"controller faulted due to insufficient power, try by connecting it in a different slot\n");
goto err;
+ }
U32 host_diagnostic;
timeout = MPI3_SYSIF_DIAG_SAVE_TIMEOUT * 10;