]> git.karo-electronics.de Git - linux-beck.git/commit
[libata] AHCI: enable AHCI mode, before using AHCI reset
authorJeff Garzik <jeff@garzik.org>
Wed, 26 Sep 2007 04:02:41 +0000 (00:02 -0400)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:42 +0000 (14:55 -0400)
commit3cc3eb1148e4b2dfabf7a1dcf36fd8be1331ca95
tree5f987f613eb8dae6c170f97fe9acb47379902a32
parentb90fe23bd51c6b1c298159591c833bdd24f55002
[libata] AHCI: enable AHCI mode, before using AHCI reset

AHCI spec says host-reset bit may only be set when the ahci-enable bit
is also set.

Noticed by Peer Chen <peerchen@gmail.com>

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c