Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Add new CAP2 and BOHC registers.
details: https://anonhg.NetBSD.org/src/rev/bfe0e7793eda
branches: trunk
changeset: 768559:bfe0e7793eda
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Aug 20 16:10:02 2011 +0000
description:
Add new CAP2 and BOHC registers.
diffstat:
sys/dev/ic/ahcisatareg.h | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 6e435ea9ba83 -r bfe0e7793eda sys/dev/ic/ahcisatareg.h
--- a/sys/dev/ic/ahcisatareg.h Sat Aug 20 16:08:07 2011 +0000
+++ b/sys/dev/ic/ahcisatareg.h Sat Aug 20 16:10:02 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ahcisatareg.h,v 1.9 2011/08/20 16:08:07 jakllsch Exp $ */
+/* $NetBSD: ahcisatareg.h,v 1.10 2011/08/20 16:10:02 jakllsch Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -176,6 +176,18 @@
#define AHCI_EMC_TM 0x00000100 /* Transmit message */
#define AHCI_EMC_MR 0x00000001 /* Message received */
+#define AHCI_CAP2 0x24 /* HBA Capabilities Extended */
+#define AHCI_CAP2_APST 0x00000004
+#define AHCI_CAP2_NVMP 0x00000002
+#define AHCI_CAP2_BOH 0x00000001
+
+#define AHCI_BOHC 0x28 /* BIOS/OS Handoff Control and Status */
+#define AHCI_BOHC_BB 0x00000010
+#define AHCI_BOHC_OOC 0x00000008
+#define AHCI_BOHC_SOOE 0x00000004
+#define AHCI_BOHC_OOS 0x00000002
+#define AHCI_BOHC_BOS 0x00000001
+
/* Per-port registers */
#define AHCI_P_OFFSET(port) (0x80 * (port))
Home |
Main Index |
Thread Index |
Old Index