summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mfireg.h
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2009-01-28 23:45:14 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2009-01-28 23:45:14 +0000
commitadb0f8055811d210b8d23380b978df9b5184c366 (patch)
treee8ee8c4761f61cb42ef0b516a2cb0066ed5d04e9 /sys/dev/ic/mfireg.h
parent23697c413a15d456b77c9ec40de9685fcacde4bf (diff)
Add support for next generation megaraid sas raid controllers.
From Jim Giannoules <gortag@gmail.com>
Diffstat (limited to 'sys/dev/ic/mfireg.h')
-rw-r--r--sys/dev/ic/mfireg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/mfireg.h b/sys/dev/ic/mfireg.h
index fa559cce4ed..3d8678de895 100644
--- a/sys/dev/ic/mfireg.h
+++ b/sys/dev/ic/mfireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfireg.h,v 1.27 2008/10/31 21:37:20 marco Exp $ */
+/* $OpenBSD: mfireg.h,v 1.28 2009/01/28 23:45:12 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -24,6 +24,7 @@
#define MFI_SENSE_SIZE 128
#define MFI_OSTS_INTR_VALID 0x00000002 /* valid interrupt */
#define MFI_OSTS_PPC_INTR_VALID 0x80000000
+#define MFI_OSTS_GEN2_INTR_VALID (0x00000001 | 0x00000004)
#define MFI_INVALID_CTX 0xffffffff
#define MFI_ENABLE_INTR 0x01
#define MFI_MAXFER MAXPHYS /* XXX bogus */