commit | b710a1f4b34438b624e9c6c2dc8bcf54b0b0ba27 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Sat Jan 05 23:11:57 2008 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Wed Jan 23 05:24:16 2008 -0500 |
tree | f8bb87bd4cbc2591da8c0b9bdaf01b426902800b | |
parent | c729072459446885c5c200137de1db32da5db4dc [diff] |
ahci: factor out AHCI enabling and enable AHCI before reading CAP Factor out AHCI enabling into ahci_enable_ahci() and enabling AHCI before reading CAP in ahci_save_initial_config() as the spec requires enabling AHCI mode before accessing any other registers. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>