]> git.baikalelectronics.ru Git - kernel.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)
commit4f257e534e78c188e0f4b88953d519ff50602957
tree31e0ebfbb91633da5f62e455d708328a0f9875ee
parenta58da8024422dd1c9592e51ab03cbf4e739dce9b
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