Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932179AbWEHHzc (ORCPT ); Mon, 8 May 2006 03:55:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932174AbWEHHzc (ORCPT ); Mon, 8 May 2006 03:55:32 -0400 Received: from omx1-ext.sgi.com ([192.48.179.11]:48276 "EHLO omx1.americas.sgi.com") by vger.kernel.org with ESMTP id S1750721AbWEHHzb (ORCPT ); Mon, 8 May 2006 03:55:31 -0400 Message-ID: <445EF968.3080903@sgi.com> Date: Mon, 08 May 2006 09:55:20 +0200 From: Jes Sorensen User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: Grant Coady CC: "Randy.Dunlap" , Brent Casavant , linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, akpm@osdl.org, jeremy@sgi.com Subject: Re: [PATCH] Move various PCI IDs to header file References: <20060504180614.X88573@chenjesu.americas.sgi.com> <20060504173722.028c2b24.rdunlap@xenotime.net> <445AE690.5030700@sgi.com> <0jkn52lnu505eb26plf5o7buertimg2e6v@4ax.com> In-Reply-To: <0jkn52lnu505eb26plf5o7buertimg2e6v@4ax.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 22 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 :( Jes - 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/