From 4e422bce8a51749ff3c67eec2c8caa6377cc35ee Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 29 Oct 2012 05:23:51 +0000 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 For example, this might show the following string: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x3 impl SATA mode Signed-off-by: Stefan Reinauer Commit-Ready: Stefan Reinauer Signed-off-by: Simon Glass Tested-by: Stefan Reinauer --- 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 c4fb9e79a5..babbdc656f 100644 --- a/include/ahci.h +++ b/include/ahci.h @@ -51,6 +51,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