From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760953AbYDKRxe (ORCPT ); Fri, 11 Apr 2008 13:53:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759085AbYDKRxX (ORCPT ); Fri, 11 Apr 2008 13:53:23 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:41632 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758817AbYDKRxW (ORCPT ); Fri, 11 Apr 2008 13:53:22 -0400 Date: Fri, 11 Apr 2008 11:53:05 -0600 From: Matthew Wilcox To: Linus Torvalds Cc: Christoph Hellwig , "Kok, Auke" , Ingo Molnar , Jeff Garzik , Linux Kernel Mailing List , NetDev , e1000-list , linux-pci maillist , Andrew Morton , "David S. Miller" , Jesse Brandeburg , "Ronciak, John" , "Allan, Bruce W" , Greg KH , Arjan van de Ven , "Rafael J. Wysocki" Subject: Re: [patch] e1000=y && e1000e=m regression fix Message-ID: <20080411175304.GF11962@parisc-linux.org> References: <47FD2325.2030705@intel.com> <47FE5C89.5060209@intel.com> <20080410192714.GA14055@elte.hu> <47FE8566.5040809@intel.com> <20080411112653.GC9205@elte.hu> <20080411113644.GA7767@infradead.org> <20080411121606.GA25661@elte.hu> <47FF9060.5040202@intel.com> <20080411164542.GA4066@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 11, 2008 at 10:34:01AM -0700, Linus Torvalds wrote: > Here's a suggested patch. Not much tested, but it's fairly obvious. > > It basically makes one top-level config option (E1000) to pick the driver > at all, and two sub-options (E1000_PCI and E1000_PCIE) that you can choose > between. I think it's a little over-engineered ... why not simply: config E1000_SUPPORT bool "Intel(R) PRO/1000 Gigabit Ethernet support" depends on PCI config E1000 depends on E1000_SUPPORT tristate "E1000 PCI support" help Include support for Conventional PCI devices. This includes chips built into motherboards ... blah blah, if unsure say "Y" or "M" config E1000E depends on E1000_SUPPORT tristate "E1000 PCI Express support" help Include support for PCI Express devices. This includes chips built into motherboards such as ICH9 ... blah blah, if unsure say "Y" or "M". and get rid of the PCIE() macros from the e1000 driver. While it does allow someone like Ingo to create a E1000=y and E1000E=m situation (which won't bind to an ethernet card that E1000 used to), having the E1000_SUPPORT symbol means that oldconfig will stop and ask you which hopefully makes it obvious enough that things have changed here and you need to pay attention. -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step."