[PATCH] ahci: preserve PORTS_IMPL over host resets
authorTejun Heo <htejun@gmail.com>
Thu, 2 Nov 2006 03:17:23 +0000 (12:17 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:41:31 +0000 (22:41 -0500)
commit98fa4b60c673526fdd478d9719e41cd9e2b84986
tree696cb1f0d19bbda6dc9030eb11e4b2754472dfaa
parentada406c8246b0792afe4d7f8ae7606093052de87
[PATCH] ahci: preserve PORTS_IMPL over host resets

Instead of writing 0xf blindly, preserve the content of write-once
PORTS_IMPL register over host resets.

This patch is taken from Jeff Garzik's AHCI init update patch.

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