From mboxrd@z Thu Jan 1 00:00:00 1970 From: jamal Subject: Re: [RFC] [PATCH 1/2] Driver to remember ethernet MAC values: maclist Date: Mon, 20 Feb 2006 08:15:07 -0500 Message-ID: <1140441307.6083.108.camel@localhost.localdomain> References: <20060220010113.GA19309@deprecation.cyrius.com> <20060220014735.GD4971@stusta.de> <20060220030146.11f418dc@inspiron> <43F9B32B.3090203@cantab.net> <20060220135718.038b675b@inspiron> <20060220130712.GA24784@xi.wantstofly.org> Reply-To: hadi@cyberus.ca Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Alessandro Zummo , David Vrabel , Adrian Bunk , Martin Michlmayr , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, John Bowler Return-path: To: Lennert Buytenhek In-Reply-To: <20060220130712.GA24784@xi.wantstofly.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Mon, 2006-20-02 at 14:07 +0100, Lennert Buytenhek wrote: > On Mon, Feb 20, 2006 at 01:57:18PM +0100, Alessandro Zummo wrote: > > Or just pass the MAC along in platform device style. What I did in > drivers/net/ixp2000/ was to have enp2611.c (board-specific code) read > the MAC from the board, and pass it to ixpdev.c (generic code) in the > net_device structure. > yep, this is what i have seen done in a lot of embedded boards containing switching chips (If i am not mistaken there is a 4 port switch in the IXP4xx) cheers, jamal