aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mps
diff options
context:
space:
mode:
authorKenneth D. Merry <ken@FreeBSD.org>2013-09-12 22:06:12 +0000
committerKenneth D. Merry <ken@FreeBSD.org>2013-09-12 22:06:12 +0000
commitcd04f04fb5252ea9495e96c49923bc56a30e0d99 (patch)
treee4661424b901edd2e66125f1c3c7e976a7c4c709 /sys/dev/mps
parent44acc1e156e6aca0958fbbc292d52a18d1eea245 (diff)
Notes
Diffstat (limited to 'sys/dev/mps')
-rw-r--r--sys/dev/mps/mps_sas_lsi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/mps/mps_sas_lsi.c b/sys/dev/mps/mps_sas_lsi.c
index ca7ba4a23d37..c219be14bb13 100644
--- a/sys/dev/mps/mps_sas_lsi.c
+++ b/sys/dev/mps/mps_sas_lsi.c
@@ -898,7 +898,9 @@ mpssas_volume_add(struct mps_softc *sc, u16 handle)
free(lun, M_MPT2);
}
SLIST_INIT(&targ->luns);
+#if __FreeBSD_version < 1000039
if ((sassc->flags & MPSSAS_IN_STARTUP) == 0)
+#endif
mpssas_rescan_target(sc, targ);
mps_dprint(sc, MPS_MAPPING, "RAID target id %d added (WWID = 0x%jx)\n",
targ->tid, wwid);