]> git.baikalelectronics.ru Git - kernel.git/commit
ahci: drop intx manipulation on msi enable
authorTejun Heo <tj@kernel.org>
Fri, 23 Jan 2009 02:31:39 +0000 (11:31 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Mar 2009 02:02:40 +0000 (22:02 -0400)
commit4393e8ba62b82e975e5b3db4855ef992998649d0
treede2128b74217d3ce6a09af4ee532c561bb022412
parent9597d38978ad33e7874bface714d738c4dd18165
ahci: drop intx manipulation on msi enable

There's no need to turn off intx explicitly on msi enable.  This is
automatically handled by pci.  Drop it.

This might be needed on machines if the BIOS turns intx off during
boot.  However, there's no evidence of such behavior for ahci and
the only such case seems to be ICH5 PATA according to ata_piix.
Also, given the way ahci operates, it's highly unlikely BIOS ever
disables IRQ for the controller.  However, as this change has slight
possibility of introducing failure, please schedule it for #upstream.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c