Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751146AbWEHIcI (ORCPT ); Mon, 8 May 2006 04:32:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751255AbWEHIcI (ORCPT ); Mon, 8 May 2006 04:32:08 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:48806 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S932268AbWEHIcG (ORCPT ); Mon, 8 May 2006 04:32:06 -0400 Subject: Re: [PATCH] Move various PCI IDs to header file From: Arjan van de Ven To: Jes Sorensen Cc: Grant Coady , "Randy.Dunlap" , Brent Casavant , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, akpm@osdl.org, jeremy@sgi.com In-Reply-To: <445EF968.3080903@sgi.com> References: <20060504180614.X88573@chenjesu.americas.sgi.com> <20060504173722.028c2b24.rdunlap@xenotime.net> <445AE690.5030700@sgi.com> <0jkn52lnu505eb26plf5o7buertimg2e6v@4ax.com> <445EF968.3080903@sgi.com> Content-Type: text/plain Date: Mon, 08 May 2006 10:31:59 +0200 Message-Id: <1147077120.2888.5.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1115 Lines: 26 On Mon, 2006-05-08 at 09:55 +0200, Jes Sorensen wrote: > Grant Coady wrote: > > When I worked on pci_ids.h cleanup last year I didn't get a clear > > idea of whether moving all #defines to the one header file was > > desired. Last I looked there were heaps of them scattered all > > over. Is there a preferred model for placing these #defines? > > > > Grant. > > According to the document Randy referenced, the preferred place for > *new* defines is to stick them in the local files where they are used. > I don't think there is any preference for moving the out of pci_ids.h > as it would just cause patch noise for the sake of making noise. > > So much for being able to go through the pci_ids.h file to get an idea > about whether or not a device may have a chance of being supported :( that wasn't there ever anyway.. modules.pcimap is more like it anyway - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/