]> git.baikalelectronics.ru Git - kernel.git/commit
ahci: port_no should be used when clearing IRQ in ahci_thaw()
authorTejun Heo <htejun@gmail.com>
Sat, 27 Jan 2007 02:04:26 +0000 (11:04 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 27 Jan 2007 07:50:36 +0000 (02:50 -0500)
commit9cf09d5f4cbc833f3aa6d5053be99dd28343b1d8
tree547885a7f46380d10c6ebdcf16cac96d36d6991d
parente30e43e984cd529f787294eabde97e6e29918c6d
ahci: port_no should be used when clearing IRQ in ahci_thaw()

ap->id is logcial port ID which is unique among all ATA ports and
doesn't have anything to do with hardware port index.  ap->port_no is
the hardware port index and thus should be used when clearing IRQ mask
in ahci_thaw().

This problem has been spotted by Jeff Garzik <jgarzik@pobox.com>.

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