diff options
author | Tejun Heo <htejun@gmail.com> | 2008-01-05 14:11:57 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 10:24:16 (GMT) |
commit | b710a1f4b34438b624e9c6c2dc8bcf54b0b0ba27 (patch) | |
tree | f8bb87bd4cbc2591da8c0b9bdaf01b426902800b /drivers/ata/libata-eh.c | |
parent | c729072459446885c5c200137de1db32da5db4dc (diff) | |
download | linux-fsl-qoriq-b710a1f4b34438b624e9c6c2dc8bcf54b0b0ba27.tar.xz |
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