diff options
| author | 2019-09-09 09:38:04 +0000 | |
|---|---|---|
| committer | 2019-09-09 09:38:04 +0000 | |
| commit | 591aeef52a4dbb5efa0a10c0003c796aac82c7df (patch) | |
| tree | 960ad618907cebed74105bbafdae793653371bb6 | |
| parent | Add cursor-down-and-cancel, from Mark Kelly. (diff) | |
| download | wireguard-openbsd-591aeef52a4dbb5efa0a10c0003c796aac82c7df.tar.xz wireguard-openbsd-591aeef52a4dbb5efa0a10c0003c796aac82c7df.zip | |
revert back to using 0x6c for the reply post index register.
this was mistakenly committed as part of the powerdown hook stuff,
and caused "older" chips like SAS2208s to get stuck in biowait.
reported by Mischa <obsdml at high5 dot nl> and hrvoje popovski
discussed with jmatthew@ and alex wilson.
fix tested by me on a SAS3508 and SAS2208
| -rw-r--r-- | sys/dev/pci/mfii.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/mfii.c b/sys/dev/pci/mfii.c index df117d9a30c..3b6f4ab56d6 100644 --- a/sys/dev/pci/mfii.c +++ b/sys/dev/pci/mfii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfii.c,v 1.62 2019/08/28 04:55:51 dlg Exp $ */ +/* $OpenBSD: mfii.c,v 1.63 2019/09/09 09:38:04 dlg Exp $ */ /* * Copyright (c) 2012 David Gwynne <dlg@openbsd.org> @@ -48,7 +48,7 @@ #define MFII_PCI_MEMSIZE 0x2000 /* 8k */ #define MFII_OSTS_INTR_VALID 0x00000009 -#define MFII_RPI 0x30c /* reply post host index */ +#define MFII_RPI 0x6c /* reply post host index */ #define MFII_OSP2 0xb4 /* outbound scratch pad 2 */ #define MFII_OSP3 0xb8 /* outbound scratch pad 3 */ |
