Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261686AbUJaXQa (ORCPT ); Sun, 31 Oct 2004 18:16:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261690AbUJaXQa (ORCPT ); Sun, 31 Oct 2004 18:16:30 -0500 Received: from inx.pm.waw.pl ([195.116.170.20]:37009 "EHLO inx.pm.waw.pl") by vger.kernel.org with ESMTP id S261688AbUJaXQN (ORCPT ); Sun, 31 Oct 2004 18:16:13 -0500 To: Pekka Enberg Cc: Al Viro , davem@davemloft.net, netdev@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: net: generic netdev_ioaddr References: <1099044244.9566.0.camel@localhost> <20041029131607.GU24336@parcelfarce.linux.theplanet.co.uk> <20041029193827.GV24336@parcelfarce.linux.theplanet.co.uk> <1099129946.10961.9.camel@localhost> <1099206669.9571.10.camel@localhost> From: Krzysztof Halasa Date: Mon, 01 Nov 2004 00:14:24 +0100 In-Reply-To: <1099206669.9571.10.camel@localhost> (Pekka Enberg's message of "Sun, 31 Oct 2004 09:11:09 +0200") 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: 1001 Lines: 26 Hi, Pekka Enberg writes: > Cops already exposes base address and irq as module parameters and yet > it calls netdev_boot_setup_check() to check "netdev=" so I assume > there's a reason for that. Perhaps something like the (untested) patch > below would make more sense? IMHO partially: base_addr etc should go from the core (to driver's local structs if needed). I think no general netdev-setup thing is needed, we have module parameters and library functions. No ioctl for such things is needed either. /sbin/ifconfig shouldn't mess with hardware data such as I/O address, IRQ etc. - it should be a configuration tool for software protocols, not for hardware (i.e. as /sbin/ip is). My opinion of course. -- 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/