summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/mpi.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2006-09-18 13:01:26 +0000
committerdlg <dlg@openbsd.org>2006-09-18 13:01:26 +0000
commite62a2b323ba0b2bc1e6f877c67afa59803a61aca (patch)
treebe98ed4dde08384c2bd66ca0173832e9a49a17e7 /sys/dev/ic/mpi.c
parenttiny whitespace nit (diff)
downloadwireguard-openbsd-e62a2b323ba0b2bc1e6f877c67afa59803a61aca.tar.xz
wireguard-openbsd-e62a2b323ba0b2bc1e6f877c67afa59803a61aca.zip
macros and types for event notifications from the hardware.
Diffstat (limited to 'sys/dev/ic/mpi.c')
-rw-r--r--sys/dev/ic/mpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c
index 3b8fca07dd9..6ab27b772de 100644
--- a/sys/dev/ic/mpi.c
+++ b/sys/dev/ic/mpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpi.c,v 1.67 2006/09/18 03:13:25 pedro Exp $ */
+/* $OpenBSD: mpi.c,v 1.68 2006/09/18 13:01:26 dlg Exp $ */
/*
* Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org>
@@ -1959,7 +1959,7 @@ mpi_eventnotify(struct mpi_softc *sc)
enq->function = MPI_FUNCTION_EVENT_NOTIFICATION;
enq->chain_offset = 0;
- enq->ev_switch = 1;
+ enq->event_switch = MPI_EVENT_SWITCH_ON;
enq->msg_context = htole32(ccb->ccb_id);
mpi_start(sc, ccb);