aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ciss
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2004-04-19 00:57:29 +0000
committerPaul Saab <ps@FreeBSD.org>2004-04-19 00:57:29 +0000
commit2e80ca8a686e575db62d6ed96d750b85d8d5fb4c (patch)
tree5b716f7715981b6502d21b80bc9437703b5101cf /sys/dev/ciss
parentb6f7c57ecf2fcefa805b1cebb1751d5fecd1ddfe (diff)
Notes
Diffstat (limited to 'sys/dev/ciss')
-rw-r--r--sys/dev/ciss/ciss.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index 7e581bcae2764..d472ab83608d0 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -2908,7 +2908,10 @@ ciss_notify_event(struct ciss_softc *sc)
cnc->synchronous = 0;
cnc->ordered = 0;
cnc->seek_to_oldest = 0;
- cnc->new_only = 0;
+ if ((sc->ciss_flags & CISS_FLAG_RUNNING) == 0)
+ cnc->new_only = 1;
+ else
+ cnc->new_only = 0;
cnc->length = htonl(CISS_NOTIFY_DATA_SIZE);
/* submit the request */