diff options
author | Tejun Heo <htejun@gmail.com> | 2008-01-05 23:11:57 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:16 -0500 |
commit | b710a1f4b34438b624e9c6c2dc8bcf54b0b0ba27 (patch) | |
tree | f8bb87bd4cbc2591da8c0b9bdaf01b426902800b /drivers/ata/libata-eh.c | |
parent | c729072459446885c5c200137de1db32da5db4dc (diff) | |
download | lwn-b710a1f4b34438b624e9c6c2dc8bcf54b0b0ba27.tar.gz lwn-b710a1f4b34438b624e9c6c2dc8bcf54b0b0ba27.zip |
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>
Diffstat (limited to 'drivers/ata/libata-eh.c')
0 files changed, 0 insertions, 0 deletions