]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] libata: set IRQF_SHARED for legacy PCI IDE IRQs
authorTejun Heo <htejun@gmail.com>
Fri, 17 Nov 2006 07:22:27 +0000 (16:22 +0900)
committerTejun Heo <htejun@gmail.com>
Sun, 3 Dec 2006 08:56:23 +0000 (17:56 +0900)
commit3855925e295aed09f32cbcd23b4808206d2ef076
tree7a256796645aef3b7a33b6b00244062bc42a9eee
parent38d6579d620c3886d0dd07d0d8e1091f7506cf6d
[PATCH] libata: set IRQF_SHARED for legacy PCI IDE IRQs

There are machines out there which share legacy PCI IDE IRQs w/ other
devices.  libata SFF interrupt/HSM code is ready for shared IRQ and
has been setting IRQF_SHARED for devices in native PCI mode.  Device
in legacy mode is still a PCI device and thus supposedly uses
active-low level triggered IRQ.

Machines with such setup should be quite rare and w/o this flag libata
is likely to fail loading and render the system unuseable.  Also, IDE
driver has been setting IRQF_SHARED for devices in legacy mode for a
looooong time.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/ata/libata-sff.c