]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI: Add quirk for devices which disable MSI when INTX_DISABLE is set.
authorDavid Miller <davem@davemloft.net>
Thu, 25 Oct 2007 08:16:30 +0000 (01:16 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Nov 2007 21:35:16 +0000 (13:35 -0800)
commitba698ad4b7e466cbb4a8bde6b9da8080ab06808d
tree31e0ebfbb91633da5f62e455d708328a0f9875ee
parent1d84b5424efbcce69a1c955ba181147d23d43a14
PCI: Add quirk for devices which disable MSI when INTX_DISABLE is set.

A reasonably common problem with some devices is that they will
disable MSI generation when the INTX_DISABLE bit is set in the
PCI_COMMAND register.

Quirk this explicitly, guarding the pci_intx() calls in msi.c with
this quirk indication.

The first entries for this quirk are for 5714 and 5780 Tigon3 chips,
and thus we can remove the workaround code from the tg3.c driver.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Michael Chan <mchan@broadcom.com>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/tg3.c
drivers/pci/msi.c
drivers/pci/quirks.c
include/linux/pci.h