]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Add MSI quirk for ServerWorks HT1000 PCIX bridge.
authorDavid Miller <davem@davemloft.net>
Thu, 25 Oct 2007 08:15:53 +0000 (01:15 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Nov 2007 21:35:16 +0000 (13:35 -0800)
commita58da8024422dd1c9592e51ab03cbf4e739dce9b
tree543e1a8180eca6ecb89aee30105f4abb07b876e6
parenta4dc1ffb0415af21cbc35a9b2f2aadb2708a80a7
PCI: Add MSI quirk for ServerWorks HT1000 PCIX bridge.

This is the fix for the following problem:

https://bugzilla.redhat.com/show_bug.cgi?id=227657

The bnx2 device 5706 complains about MSI not working behind a
ServerWorks HT1000 PCIX bridge. An earlier commit to fix the problem:

26047060a70cba9d0a2ba3c381bc55ec1faf0e11:

"PCI: disable MSI by default on systems with Serverworks HT1000 chips"

was not entirely correct, and has been reverted.

MSI does not work on the PCIX bus because the BIOS did not set the
HT_MSI_FLAGS_ENABLE bit in the HyperTransport MSI capability on the
bridge.  We use the existing quirk_msi_ht_cap() to detect the problem
and disable MSI in all buses behind it.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Cc: Anantha Subramanyam <ananth@broadcom.com>
Cc: Naren Sankar <nsankar@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c
include/linux/pci_ids.h