Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965951AbXEGRMy (ORCPT ); Mon, 7 May 2007 13:12:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965672AbXEGRMw (ORCPT ); Mon, 7 May 2007 13:12:52 -0400 Received: from khc.piap.pl ([195.187.100.11]:57444 "EHLO khc.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965662AbXEGRMv (ORCPT ); Mon, 7 May 2007 13:12:51 -0400 To: Michael-Luke Jones Cc: Jeff Garzik , Russell King , lkml , netdev@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk Subject: Re: [PATCH 3/3] Intel IXP4xx network drivers References: <5BB7E1AB-5CE1-43C8-8CE3-E0DE0236BD09@cam.ac.uk> From: Krzysztof Halasa Date: Mon, 07 May 2007 19:12:49 +0200 In-Reply-To: <5BB7E1AB-5CE1-43C8-8CE3-E0DE0236BD09@cam.ac.uk> (Michael-Luke Jones's message of "Mon, 7 May 2007 13:59:26 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1273 Lines: 39 Michael-Luke Jones writes: > Code placement: > Queue Manager & NPE code => arch/arm/mach-ixp4xx > WAN driver code => drivers/net/wan > Eth code => drivers/net/arm Why would you want such placement? Potential problems: header files would have to be moved to include/asm-arm = headers pollution. All 4 drivers are, in fact, network (related) drivers. drivers/net/arm would probably make (some) sense if it was a single (or not so single) Ethernet driver. > Kconfig: > I'm not convinced about 'config IXP4XX_NETDEVICES'. I'd lose it > together with the drivers/net/ixp4xx directory It wouldn't make sense without the directory, no doubt. > Ethernet & HSS code should probably select NPE and QMGR (rather than > depend) Actually, that's exactly what this patch do. > but these options should still be exposed in arch/arm/mach- > ixp4xx/Kconfig Why exactly? They are network devices, who would expect them there? How about the dependency mess (NET_ETHERNET etc.) that would be created? -- Krzysztof Halasa - 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/