summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-09-21 09:44:06 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-09-21 09:44:06 +0000
commitf58d56330dd41192ccc59a3e301098686f76488b (patch)
tree15ea02c21f08c9ec6a62094c1fea47ae46264380 /sys/dev/ic
parent99e94a9dba7ed4e746d856f20defe1b4e8284388 (diff)
add a debug flag type thing for event handling
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/mpi.c3
-rw-r--r--sys/dev/ic/mpivar.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c
index 23c3e30aa26..84304e77f55 100644
--- a/sys/dev/ic/mpi.c
+++ b/sys/dev/ic/mpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpi.c,v 1.70 2006/09/21 09:42:27 dlg Exp $ */
+/* $OpenBSD: mpi.c,v 1.71 2006/09/21 09:44:05 dlg Exp $ */
/*
* Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org>
@@ -45,6 +45,7 @@ uint32_t mpi_debug = 0
/* | MPI_D_CCB */
/* | MPI_D_PPR */
/* | MPI_D_RAID */
+/* | MPI_D_EVT */
;
#endif
diff --git a/sys/dev/ic/mpivar.h b/sys/dev/ic/mpivar.h
index a8c6437bdc8..c7681582f7c 100644
--- a/sys/dev/ic/mpivar.h
+++ b/sys/dev/ic/mpivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpivar.h,v 1.20 2006/09/21 09:42:27 dlg Exp $ */
+/* $OpenBSD: mpivar.h,v 1.21 2006/09/21 09:44:05 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -33,6 +33,7 @@ extern uint32_t mpi_debug;
#define MPI_D_CCB 0x0080
#define MPI_D_PPR 0x0100
#define MPI_D_RAID 0x0200
+#define MPI_D_EVT 0x0400
#else
#define DPRINTF(x...)
#define DNPRINTF(n,x...)