From patchwork Wed Dec 8 14:47:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Horman X-Patchwork-Id: 390742 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB8EnAVT004671 for ; Wed, 8 Dec 2010 14:49:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755285Ab0LHOtJ (ORCPT ); Wed, 8 Dec 2010 09:49:09 -0500 Received: from charlotte.tuxdriver.com ([70.61.120.58]:35895 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755312Ab0LHOtJ (ORCPT ); Wed, 8 Dec 2010 09:49:09 -0500 Received: from cpe-076-182-075-229.nc.res.rr.com ([76.182.75.229] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1PQLKL-0000CD-Tr; Wed, 08 Dec 2010 09:49:07 -0500 From: Neil Horman To: linux-kernel@vger.kernel.org Cc: Neil Horman , linux-pci@vger.kernel.org, kexec@lists.infradead.org, Vivek Goyal , Jesse Barnes Subject: [PATCH] Update MCP55 quirk to not affect non HyperTransport variants Date: Wed, 8 Dec 2010 09:47:48 -0500 Message-Id: <1291819668-15624-1-git-send-email-nhorman@tuxdriver.com> X-Mailer: git-send-email 1.7.2.3 MIME-Version: 1.0 X-Spam-Score: -4.0 (----) X-Spam-Status: No Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 08 Dec 2010 14:49:12 +0000 (UTC) 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))) {