[PATCH] ahci: do not mangle saved HOST_CAP while resetting controller
authorTejun Heo <htejun@gmail.com>
Tue, 12 Dec 2006 11:17:32 +0000 (20:17 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 16 Dec 2006 15:13:29 +0000 (10:13 -0500)
commit551c012d7eea3dc5ec063c7ff9c718d39e77634f
tree244c89c1e0d6878a036fde806f080bf8885c661b
parent33480a0ede8dcc7e6483054279008f972bd56fd3
[PATCH] ahci: do not mangle saved HOST_CAP while resetting controller

Do not mangle with HOST_CAP while resetting controller.  The code is
there for a historical reason.  The mangling breaks controller feature
detection and 0 PORTS_IMPL workaround code.

This problem was spotted by Manoj Kasichainula.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Manoj Kasichainula <manoj@io.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c