From patchwork Thu Aug 6 19:13:59 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Jones X-Patchwork-Id: 39676 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n76JElJF019391 for ; Thu, 6 Aug 2009 19:14:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756110AbZHFTOJ (ORCPT ); Thu, 6 Aug 2009 15:14:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756018AbZHFTOJ (ORCPT ); Thu, 6 Aug 2009 15:14:09 -0400 Received: from mx2.redhat.com ([66.187.237.31]:51224 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753595AbZHFTOH (ORCPT ); Thu, 6 Aug 2009 15:14:07 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n76JE4Up003466; Thu, 6 Aug 2009 15:14:04 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n76JE3H2006971; Thu, 6 Aug 2009 15:14:04 -0400 Received: from gelk.kernelslacker.org (vpn-10-95.bos.redhat.com [10.16.10.95]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n76JE2Ix015322; Thu, 6 Aug 2009 15:14:02 -0400 Received: from gelk.kernelslacker.org (gelk.kernelslacker.org [127.0.0.1]) by gelk.kernelslacker.org (8.14.3/8.14.3) with ESMTP id n76JE23Z004604; Thu, 6 Aug 2009 15:14:02 -0400 Received: (from davej@localhost) by gelk.kernelslacker.org (8.14.3/8.14.3/Submit) id n76JDxDX004602; Thu, 6 Aug 2009 15:13:59 -0400 X-Authentication-Warning: gelk.kernelslacker.org: davej set sender to davej@redhat.com using -f Date: Thu, 6 Aug 2009 15:13:59 -0400 From: Dave Jones To: Greg KH Cc: Marcel Holtmann , "Luis R. Rodriguez" , linville@tuxdriver.com, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, zhifeng.cai@atheros.com, stephen.chen@atheros.com, linux-usb@vger.kernel.org, jbarnes@virtuousgeek.org Subject: [PATCH] Document pci_ids.h addition policy. Message-ID: <20090806191359.GA4345@redhat.com> Mail-Followup-To: Dave Jones , Greg KH , Marcel Holtmann , "Luis R. Rodriguez" , linville@tuxdriver.com, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, zhifeng.cai@atheros.com, stephen.chen@atheros.com, linux-usb@vger.kernel.org, jbarnes@virtuousgeek.org References: <1249523981-26601-1-git-send-email-lrodriguez@atheros.com> <1249532170.21101.3.camel@localhost.localdomain> <43e72e890908052126v53aa1b4sb7a48e19f98fdfa6@mail.gmail.com> <1249533357.21101.5.camel@localhost.localdomain> <20090806050932.GA25015@kroah.com> <20090806181546.GA11589@redhat.com> <20090806183326.GA28433@kroah.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20090806183326.GA28433@kroah.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, Aug 06, 2009 at 11:33:26AM -0700, Greg Kroah-Hartman wrote: > > I agree. In fact, I'd go further, and say that the bulk of what we have > > in pci_ids.h is also pointlessly shared. Only a tiny fraction of the device > > entries in that file are used by multiple files in the kernel. > > I agree with that as well, which is why when I was PCI maintainer, I > didn't allow any new additions to the pci_ids.h file, unless it was > going to be an id that was shared by different drivers. That cut the > new additions down to about none :) Perhaps documenting this is a good idea to prevent things being moved there, as it still seems to be happening judging from the git log. Signed-off-by: Dave Jones Acked-by: Greg Kroah-Hartman --- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 73b46b6..f9156fd 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2,6 +2,9 @@ * PCI Class, Vendor and Device IDs * * Please keep sorted. + * + * Do not add new entries to this file unless the definitions + * are shared between multiple drivers. */ /* Device classes and subclasses */