commit | 8bc0ab722fd0c1a1c2263db49604ae4a4604ca2a | [log] [tgz] |
---|---|---|
author | Richard Gibbs <richard.gibbs@calxeda.com> | Sat Aug 24 10:10:47 2013 -0500 |
committer | Tom Rini <trini@ti.com> | Fri Sep 06 13:09:07 2013 -0400 |
tree | fa0af40eae314c9f13eca6f30d14343755548e0c | |
parent | 9c6adfbb76608813969e9da7c7006a5b2be20f68 [diff] |
ahci: use ports implemented map instead of num_ports The AHCI driver was incorrectly using the Capabilities register NP (number of ports) field to determine which ports to activate. This commit changes it to correctly use the PORTS_IMPL register as a port map. Signed-off-by: Richard Gibbs <richard.gibbs@calxeda.com> Reviewed-by: Tom Rini <trini@ti.com>