diff mbox

Update MCP55 quirk to not affect non HyperTransport variants

Message ID 1291819668-15624-1-git-send-email-nhorman@tuxdriver.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Neil Horman Dec. 8, 2010, 2:47 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 6f9350c..313c0bd 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2329,6 +2329,9 @@  static void __devinit nvbridge_check_legacy_irq_routing(struct pci_dev *dev)
 {
 	u32 cfg;
 
+	if (!pci_find_capability(dev, PCI_CAP_ID_HT))
+		return;
+
 	pci_read_config_dword(dev, 0x74, &cfg);
 
 	if (cfg & ((1 << 2) | (1 << 15))) {