From e5a2e1d512074b91ac35c6d06262e756e8e66e10 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 24 Jan 2012 16:47:45 -0800 Subject: 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 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 Reviewed-by: Duncan Laurie Commit-Ready: Stefan Reinauer Reviewed-by: Vadim Bendebury --- include/ahci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ahci.h') 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 */ -- cgit v1.2.3