Report only new new events when initially attaching to the controller.

This commit is contained in:
Paul Saab 2004-04-19 00:57:29 +00:00
parent b6f7c57ecf
commit 2e80ca8a68

View File

@ -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 */