summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2017-01-23 04:25:03 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2017-01-23 04:25:03 +0000
commit8b744ded342c9a9dbcebe93b1337bd1f0a536685 (patch)
treee6bed5c9d1729877d60df531bb0259ab68926f04 /sys/dev
parentbde20253e45fea68b8d63c44aa7a0fd8355cd540 (diff)
add the mfii opcode for passthru commands
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/mfii.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/mfii.c b/sys/dev/pci/mfii.c
index e42259793d4..cc2c3171731 100644
--- a/sys/dev/pci/mfii.c
+++ b/sys/dev/pci/mfii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfii.c,v 1.29 2017/01/23 01:10:31 dlg Exp $ */
+/* $OpenBSD: mfii.c,v 1.30 2017/01/23 04:25:02 dlg Exp $ */
/*
* Copyright (c) 2012 David Gwynne <dlg@openbsd.org>
@@ -51,6 +51,7 @@
#define MFII_REQ_MFA(_a) htole64((_a) | MFII_REQ_TYPE_MFA)
+#define MFII_FUNCTION_PASSTHRU_IO (0xf0)
#define MFII_FUNCTION_LDIO_REQUEST (0xf1)
struct mfii_request_descr {