Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758362AbXHBP74 (ORCPT ); Thu, 2 Aug 2007 11:59:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756534AbXHBP7q (ORCPT ); Thu, 2 Aug 2007 11:59:46 -0400 Received: from waste.org ([66.93.16.53]:51657 "EHLO waste.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756525AbXHBP7o (ORCPT ); Thu, 2 Aug 2007 11:59:44 -0400 Date: Thu, 2 Aug 2007 10:59:23 -0500 From: Matt Mackall To: Jarek Poplawski Cc: Gabriel C , Andrew Morton , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, jason.wessel@windriver.com, amitkale@linsyssoft.com, Sam Ravnborg Subject: Re: NETPOLL=y , NETDEVICES=n compile error ( Re: 2.6.23-rc1-mm1 ) Message-ID: <20070802155922.GQ11115@waste.org> References: <20070731083210.GA1797@ff.dom.local> <46AF0B8C.7070006@googlemail.com> <20070731121735.GA1046@ff.dom.local> <46AF4F9C.5060000@googlemail.com> <20070801095920.GA1941@ff.dom.local> <20070802020219.GM11166@waste.org> <20070802090008.GA1699@ff.dom.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070802090008.GA1699@ff.dom.local> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2806 Lines: 65 On Thu, Aug 02, 2007 at 11:00:08AM +0200, Jarek Poplawski wrote: > On Wed, Aug 01, 2007 at 09:02:19PM -0500, Matt Mackall wrote: > > On Wed, Aug 01, 2007 at 11:59:21AM +0200, Jarek Poplawski wrote: > > > On Tue, Jul 31, 2007 at 05:05:00PM +0200, Gabriel C wrote: > > > > Jarek Poplawski wrote: > > > > > On Tue, Jul 31, 2007 at 12:14:36PM +0200, Gabriel C wrote: > > > > >> Jarek Poplawski wrote: > > > > >>> On 28-07-2007 20:42, Gabriel C wrote: > > > > >>>> Andrew Morton wrote: > > > > >>>>> On Sat, 28 Jul 2007 17:44:45 +0200 Gabriel C wrote: > ... > > > > >>>>>> net/core/netpoll.c:155: error: 'struct net_device' has no member named 'poll_controller' > ... > > > > >>>>>> I think is because KGDBOE selects just NETPOLL. > > > > >>>>>> > > > > >>>>> Looks like it. > > > > >>>>> > > > > >>>>> Select went and selected NETPOLL and NETPOLL_TRAP but things like > > > > >>>>> CONFIG_NETDEVICES and CONFIG_NET_POLL_CONTROLLER remain unset. `select' > > > > >>>>> remains evil. > ... > > > seems to select NET_POLL_CONTROLLER after selecting NETPOLL, but > > > still doesn't check for NETDEVICES dependency. > > > > That's odd. Adding Sam to the cc:. > > Looks right, but after reading Andrew's opinion about select I'd be > astonished if he doesn't know this problem already. > > > > > > > >> Now KGDBOE just selects NETPOLL and NETPOLL_TRAP. > > > > >> Adding 'select CONFIG_NET_POLL_CONTROLLER' let kgdboe compiles but the question is does it work without any ethernet card ? > > > > > > > > > > Why kgdboe should care what netpoll needs? So, I hope, you are adding > > > > > this select under config NETPOLL. On the other hand, if NETPOLL should > > > > > depend on NET_POLL_CONTROLLER there is probably no reason to have them > > > > > both. > > > > > > > > NET_POLL_CONTROLLER has def_bool NETPOLL if NETDEVICES . > > > > > > > > Net peoples ping ?:) > > > > How about cc:ing the netpoll maintainer? > > Is there a new one or do you suggest possibility of abusing the > authority of the netpoll's author with such trifles...?! I'm just subtly suggesting that if you're going to have a discussion about netpoll, you ought to cc: me. > There are some notions about "other diagnostic tools" in some > net drivers, eg. 3c509.c, so there would be a little bit of > work if, after changing this, they really exist (and even if > not - maybe it's reasonable to save such possibility for the > future?). I created it for netpoll, only netpoll clients have ever cared. -- Mathematics is the supreme nostalgia of our time. - 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/