From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752989AbYIQI3I (ORCPT ); Wed, 17 Sep 2008 04:29:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752719AbYIQI21 (ORCPT ); Wed, 17 Sep 2008 04:28:27 -0400 Received: from wa-out-1112.google.com ([209.85.146.181]:29713 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752631AbYIQI20 (ORCPT ); Wed, 17 Sep 2008 04:28:26 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Lg43JL4iUmGj1IuIvs7Jtx1Ua4T0/fH3fCTRgriTKwIiCcuhBhNXPsRDE4zbTx7aHz Ogu4pEsAaeRCW9i6Pmn6ndjSV3bWVhZyKKyx26eLNV167reORuJpHnV0TZLePgGTFVL7 qmWClfHBb7byeGYk6UwLtYMWYNKAA51oLsi5A= From: Yinghai Lu To: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton Cc: linux-kernel@vger.kernel.org, Yinghai Lu Subject: [PATCH 2/6] pci: add KERN_PCI Date: Wed, 17 Sep 2008 01:27:43 -0700 Message-Id: <1221640067-24389-3-git-send-email-yhlu.kernel@gmail.com> X-Mailer: git-send-email 1.5.6 In-Reply-To: <1221640067-24389-1-git-send-email-yhlu.kernel@gmail.com> References: <1221640067-24389-1-git-send-email-yhlu.kernel@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org use DEFINE_LOGLEVEL_SETUP to set loglevel for pci Signed-off-by: Yinghai Lu --- drivers/pci/pci.c | 2 ++ include/linux/pci.h | 2 ++ 2 files changed, 4 insertions(+) Index: linux-2.6/drivers/pci/pci.c =================================================================== --- linux-2.6.orig/drivers/pci/pci.c +++ linux-2.6/drivers/pci/pci.c @@ -1953,6 +1953,8 @@ static int __devinit pci_setup(char *str } early_param("pci", pci_setup); +DEFINE_LOGLEVEL_SETUP(pci, KERN_PCI, "pci:"); + device_initcall_sync(pci_init); EXPORT_SYMBOL(pci_reenable_device); Index: linux-2.6/include/linux/pci.h =================================================================== --- linux-2.6.orig/include/linux/pci.h +++ linux-2.6/include/linux/pci.h @@ -55,6 +55,8 @@ /* Include the ID list */ #include +#define KERN_PCI "" + /* pci_slot represents a physical slot */ struct pci_slot { struct pci_bus *bus; /* The bus this slot is on */