diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-09-13 07:11:48 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-09-13 07:11:48 +0000 |
commit | 42612cd7f11ebee7a11be4efd3ae883c760903cb (patch) | |
tree | 642b31e086d2bdc5f7dd147e2e1227fa420abf48 /sys/dev/ic | |
parent | 05cc86a36842da2f4003cb72c45c452162152ba4 (diff) |
dont reuse the event notifications ccbs id for the acknowledgement.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/mpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index 4e1da0412a5..0a16fe2e38f 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.159 2010/09/13 06:53:21 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.160 2010/09/13 07:11:47 dlg Exp $ */ /* * Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org> @@ -2396,7 +2396,7 @@ mpi_eventack(void *cookie, void *io) eaq = ccb->ccb_cmd; eaq->function = MPI_FUNCTION_EVENT_ACK; - eaq->msg_context = enp->msg_context; + eaq->msg_context = htole32(ccb->ccb_id); eaq->event = enp->event; eaq->event_context = enp->event_context; |