diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-01-24 16:47:45 -0800 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-01-25 15:06:01 -0800 |
commit | e5a2e1d512074b91ac35c6d06262e756e8e66e10 (patch) | |
tree | 6145c64d6ce3361317747484e0acb61a1736a6aa /include/ahci.h | |
parent | cf11fae2e4367bd2287b063217321efd10c5f189 (diff) |
AHCI: cosmetics and cleanup
- print the correct speed
- print all the AHCI capability flags
(information taken from Linux kernel driver)
- clean up some comments
Signed-off-by: Stefan Reinauer <reinauer@google.com>
BUG=chrome-os-partner:7714
TEST=See the following string in bios_log:
AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x3 impl SATA mode
Change-Id: Ib32dbeddd0714359948e2bec033b2ec7aabbdb10
Reviewed-on: https://gerrit.chromium.org/gerrit/14754
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Commit-Ready: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include/ahci.h')
-rw-r--r-- | include/ahci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ahci.h b/include/ahci.h index 0c6bbbdc56c..87698538502 100644 --- a/include/ahci.h +++ b/include/ahci.h @@ -48,6 +48,7 @@ #define HOST_IRQ_STAT 0x08 /* interrupt status */ #define HOST_PORTS_IMPL 0x0c /* bitmap of implemented ports */ #define HOST_VERSION 0x10 /* AHCI spec. version compliancy */ +#define HOST_CAP2 0x24 /* host capabilities, extended */ /* HOST_CTL bits */ #define HOST_RESET (1 << 0) /* reset controller; self-clear */ |