Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932521AbWBTBrj (ORCPT ); Sun, 19 Feb 2006 20:47:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932525AbWBTBrj (ORCPT ); Sun, 19 Feb 2006 20:47:39 -0500 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:30737 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S932521AbWBTBri (ORCPT ); Sun, 19 Feb 2006 20:47:38 -0500 Date: Mon, 20 Feb 2006 02:47:35 +0100 From: Adrian Bunk To: Martin Michlmayr Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, John Bowler Subject: Re: [RFC] [PATCH 1/2] Driver to remember ethernet MAC values: maclist Message-ID: <20060220014735.GD4971@stusta.de> References: <20060220010113.GA19309@deprecation.cyrius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060220010113.GA19309@deprecation.cyrius.com> User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1804 Lines: 46 On Mon, Feb 20, 2006 at 01:01:13AM +0000, Martin Michlmayr wrote: > From: John Bowler > > Some Ethernet hardware implementations have no built-in storage for > allocated MAC values - an example is the Intel IXP420 chip which has > support for Ethernet but no defined way of storing allocated MAC values. > With such hardware different board level implementations store the > allocated MAC (or MACs) in different ways. Rather than put board level > code into a specific Ethernet driver this driver provides a generally > accessible repository for the MACs which can be written by board level > code and read by the driver. > > The implementation also allows user level programs to access the MAC > information in /proc/net/maclist. This is useful as it allows user space > code to use the MAC if it is not used by a built-in driver. > > This driver has been used for several months on various IXP420 based > platforms within the NSLU2-Linux project, including the Linksys NSLU2. > A sample implementation of the use of maclist is sent as patch 2. This > one is for the Linksys NSLU2, but several more patches for other IXP420 > based platforms are available. >... Silly question: Why can't this be implemented in user space using the SIOCSIFHWADDR ioctl? > Martin Michlmayr cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - 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/