summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2004-06-21 22:57:10 +0000
committerPaul Saab <ps@FreeBSD.org>2004-06-21 22:57:10 +0000
commit139233cbd6cd6400dbaadd5d167691860824d4e9 (patch)
tree730986a154157967ed7a3bde45dfe7fa5ddee778 /sys
parent0076f431584bada9a9e1a0ed773415e2def07bfe (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ciss/ciss.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index ae2f61d81b39..3b33ab9cf2bd 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -3477,6 +3477,10 @@ ciss_notify_logical(struct ciss_softc *sc, struct ciss_notify *cn)
ciss_printf(sc, "logical drive %d (%s) media exchanged, ready to go online\n",
cn->data.logical_status.logical_drive, ld->cl_name);
ciss_accept_media(sc, ld);
+
+ ld->cl_update = 1;
+ ld->cl_status = ciss_decode_ldrive_status(cn->data.logical_status.new_state);
+ ciss_notify_rescan_logical(sc);
break;
case 2: