From patchwork Wed Sep 29 18:23:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 217802 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 o8TINQBG009602 for ; Wed, 29 Sep 2010 18:23:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754668Ab0I2SXX (ORCPT ); Wed, 29 Sep 2010 14:23:23 -0400 Received: from g4t0016.houston.hp.com ([15.201.24.19]:20781 "EHLO g4t0016.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753353Ab0I2SXX (ORCPT ); Wed, 29 Sep 2010 14:23:23 -0400 Received: from g4t0009.houston.hp.com (g4t0009.houston.hp.com [16.234.32.26]) by g4t0016.houston.hp.com (Postfix) with ESMTP id D82B8146FA; Wed, 29 Sep 2010 18:23:22 +0000 (UTC) Received: from ldl (ldl.fc.hp.com [15.11.146.30]) by g4t0009.houston.hp.com (Postfix) with ESMTP id A69D1C090; Wed, 29 Sep 2010 18:23:22 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl (Postfix) with ESMTP id 8AD2BCF0023; Wed, 29 Sep 2010 12:23:22 -0600 (MDT) Received: from ldl ([127.0.0.1]) by localhost (ldl.fc.hp.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XmEfLiU7oJmq; Wed, 29 Sep 2010 12:23:22 -0600 (MDT) Received: from eh.fc.hp.com (eh.fc.hp.com [15.11.146.105]) by ldl (Postfix) with ESMTP id 77C48CF0014; Wed, 29 Sep 2010 12:23:22 -0600 (MDT) Received: from bob.kio (localhost [127.0.0.1]) by eh.fc.hp.com (Postfix) with ESMTP id 1760126108; Wed, 29 Sep 2010 12:23:22 -0600 (MDT) Subject: [PATCH] PCI: log vendor/device ID always To: Jesse Barnes From: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Date: Wed, 29 Sep 2010 12:23:21 -0600 Message-ID: <20100929182321.31009.31759.stgit@bob.kio> User-Agent: StGit/0.15 MIME-Version: 1.0 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, 29 Sep 2010 18:23:27 +0000 (UTC) diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 12625d9..c84900d 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -961,8 +961,8 @@ int pci_setup_device(struct pci_dev *dev) dev->class = class; class >>= 8; - dev_dbg(&dev->dev, "found [%04x:%04x] class %06x header type %02x\n", - dev->vendor, dev->device, class, dev->hdr_type); + dev_printk(KERN_DEBUG, &dev->dev, "[%04x:%04x] type %d class %#08x\n", + dev->vendor, dev->device, dev->hdr_type, class); /* need to have dev->class ready */ dev->cfg_size = pci_cfg_space_size(dev);