diff options
author | 2006-09-18 13:01:26 +0000 | |
---|---|---|
committer | 2006-09-18 13:01:26 +0000 | |
commit | e62a2b323ba0b2bc1e6f877c67afa59803a61aca (patch) | |
tree | be98ed4dde08384c2bd66ca0173832e9a49a17e7 /sys/dev/ic/mpi.c | |
parent | tiny whitespace nit (diff) | |
download | wireguard-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.c | 4 |
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); |