summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ic/mfi.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c
index 0e88e61de3f..eee224a4a23 100644
--- a/sys/dev/ic/mfi.c
+++ b/sys/dev/ic/mfi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfi.c,v 1.59 2006/06/19 19:05:45 marco Exp $ */
+/* $OpenBSD: mfi.c,v 1.60 2006/06/19 19:09:04 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -1334,6 +1334,7 @@ mfi_ioctl_vol(struct mfi_softc *sc, struct bioc_vol *bv)
/* additional status can modify MFI status */
switch (sc->sc_ld_details.mld_progress.mlp_in_prog) {
case MFI_LD_PROG_CC:
+ case MFI_LD_PROG_BGI:
bv->bv_status = BIOC_SVSCRUB;
per = (int)sc->sc_ld_details.mld_progress.mlp_cc.mp_progress;
bv->bv_percent = (per * 100) / 0xffff;
@@ -1341,14 +1342,6 @@ mfi_ioctl_vol(struct mfi_softc *sc, struct bioc_vol *bv)
sc->sc_ld_details.mld_progress.mlp_cc.mp_elapsed_seconds;
break;
- case MFI_LD_PROG_BGI:
- bv->bv_status = BIOC_SVBUILDING;
- per = (int)sc->sc_ld_details.mld_progress.mlp_bgi.mp_progress;
- bv->bv_percent = (per * 100) / 0xffff;
- bv->bv_seconds =
- sc->sc_ld_details.mld_progress.mlp_bgi.mp_elapsed_seconds;
- break;
-
case MFI_LD_PROG_FGI:
case MFI_LD_PROG_RECONSTRUCT:
/* nothing yet */