summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/mpiireg.h
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2018-06-19 10:32:41 +0000
committerjmatthew <jmatthew@openbsd.org>2018-06-19 10:32:41 +0000
commit9b998bc897677d5c34129883ab8b4a38e783b8ff (patch)
tree0312661247eb21efd8b385f59f69d764ee09c10a /sys/dev/pci/mpiireg.h
parentgetting closer to having actual tags working. (diff)
downloadwireguard-openbsd-9b998bc897677d5c34129883ab8b4a38e783b8ff.tar.xz
wireguard-openbsd-9b998bc897677d5c34129883ab8b4a38e783b8ff.zip
Add support for SAS3.5 controllers. This involves reordering
initialisation so we get the controller capabilities first, allowing a soft reset instead of hard reset. The new controllers don't work after a hard reset, and older generations seem fine either way. tested by robert@ on a sas3408, by dlg@ on a sas2008 (on sparc64) and by me on a sas3008. ok dlg@ robert@
Diffstat (limited to 'sys/dev/pci/mpiireg.h')
-rw-r--r--sys/dev/pci/mpiireg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/mpiireg.h b/sys/dev/pci/mpiireg.h
index 759072e50ef..544a304227b 100644
--- a/sys/dev/pci/mpiireg.h
+++ b/sys/dev/pci/mpiireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpiireg.h,v 1.12 2017/01/16 18:09:35 mikeb Exp $ */
+/* $OpenBSD: mpiireg.h,v 1.13 2018/06/19 10:32:41 jmatthew Exp $ */
/*
* Copyright (c) 2010 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
@@ -524,6 +524,7 @@ struct mpii_msg_portfacts_reply {
#define MPII_PORTFACTS_PORTTYPE_ISCSI (0x20)
#define MPII_PORTFACTS_PORTTYPE_SAS_PHYSICAL (0x30)
#define MPII_PORTFACTS_PORTTYPE_SAS_VIRTUAL (0x31)
+#define MPII_PORTFACTS_PORTTYPE_TRI_MODE (0x40)
u_int16_t reserved6;
u_int16_t max_posted_cmd_buffers;