firewire: ohci: add MSI support
authorClemens Ladisch <clemens@ladisch.de>
Sat, 5 Jun 2010 10:31:25 +0000 (12:31 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 9 Jun 2010 17:42:18 +0000 (19:42 +0200)
commit262444eecce40950af19ea4d75a3dc03b3c07283
tree87b465d2bdc2cc600807910d372e68ba668bda8a
parent148c7866c31d93f8c79366189075f5a26ad4556c
firewire: ohci: add MSI support

This patch adds support for message-signaled interrupts.

Any native PCI-Express OHCI controller should support MSI, but most are
just PCI cores behind a PCI-E/PCI bridge.  The only chips that are known
to claim to support MSI are the Lucent/Agere/LSI FW643 and the VIA
VT6315, none of which I have been able to test.

Due to the high level of trust I have in the competence of these and any
future chip makers, I thought it a good idea to add a disable-MSI quirk.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>

Tested Agere FW643 rev 07 [11c1:5901] and JMicron JMB381 [197b:2380].
Added a quirks list entry for JMB38X since it kept its count of MSI
events consistently at zero.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c