summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mfireg.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-04-16 16:34:36 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-04-16 16:34:36 +0000
commit4178ec7446512122df25fcd8639e3a7fa9de3b3a (patch)
treeb9eb6b4e960c33870657145c67574602c2dcebe7 /sys/dev/ic/mfireg.h
parent13211293b56c5a2ce7ee7cc76d22039420a3e6fa (diff)
Add interrupt handler. Idea borrowed from FreeBSD since it is much nicer
than the Linux one.
Diffstat (limited to 'sys/dev/ic/mfireg.h')
-rw-r--r--sys/dev/ic/mfireg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/mfireg.h b/sys/dev/ic/mfireg.h
index 13a8e42bbae..7f6e34e00b5 100644
--- a/sys/dev/ic/mfireg.h
+++ b/sys/dev/ic/mfireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfireg.h,v 1.3 2006/04/07 16:10:14 marco Exp $ */
+/* $OpenBSD: mfireg.h,v 1.4 2006/04/16 16:34:35 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -32,6 +32,11 @@
#define MFI_IQP 0x40 /* inbound queue port */
#define MFI_OQP 0x44 /* outbound queue port */
+/* valid interrupt */
+#define MFI_OSTS_INTR_VALID 0x00000002
+
+#define MFI_INVALID_CTX 0xffffffff
+
/* * firmware states */
#define MFI_STATE_MASK 0xf0000000
#define MFI_STATE_UNDEFINED 0x00000000