summaryrefslogtreecommitdiffstats
path: root/sys/dev/mvs/mvs.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2012-06-12 11:08:51 +0000
committermav <mav@FreeBSD.org>2012-06-12 11:08:51 +0000
commit2836cfaf805f7b751e904f8f53aaf421aafdb66f (patch)
treeb5e94464d9d82884c3aa4443c18aa559bbf565e6 /sys/dev/mvs/mvs.h
parent813f2809c580633e12abec8bd0f7599ee0865661 (diff)
downloadFreeBSD-src-2836cfaf805f7b751e904f8f53aaf421aafdb66f.zip
FreeBSD-src-2836cfaf805f7b751e904f8f53aaf421aafdb66f.tar.gz
- Limit r214102 workaround to only x86. On arm it causes more problems
then solves because of cache coherency issues. This fixes periodic error messages on console and command timeouts. - Patch SATA PHY configuration for 65nm SoCs to improve SNR same as Linux does. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/mvs/mvs.h')
-rw-r--r--sys/dev/mvs/mvs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/mvs/mvs.h b/sys/dev/mvs/mvs.h
index f4e4a61..4938fb4 100644
--- a/sys/dev/mvs/mvs.h
+++ b/sys/dev/mvs/mvs.h
@@ -382,6 +382,10 @@
#define SATA_FISDW5 0x384 /* FIS DW5 */
#define SATA_FISDW6 0x388 /* FIS DW6 */
+#define SATA_PHYM9_GEN2 0x398
+#define SATA_PHYM9_GEN1 0x39c
+#define SATA_PHYCFG_OFS 0x3a0 /* 65nm SoCs only */
+
#define MVS_MAX_PORTS 8
#define MVS_MAX_SLOTS 32
@@ -537,6 +541,7 @@ struct mvs_channel {
#define MVS_Q_GENIIE 4
#define MVS_Q_SOC 8
#define MVS_Q_CT 16
+#define MVS_Q_SOC65 32
int pm_level; /* power management level */
struct mvs_slot slot[MVS_MAX_SLOTS];
OpenPOWER on IntegriCloud