From owner-freebsd-sparc64@FreeBSD.ORG Mon Jul 19 18:41:29 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62E0316A4CE for ; Mon, 19 Jul 2004 18:41:29 +0000 (GMT) Received: from ida.interface-business.de (ida.interface-business.de [193.101.57.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13B0C43D1D for ; Mon, 19 Jul 2004 18:41:29 +0000 (GMT) (envelope-from j@ida.interface-business.de) Received: by ida.interface-business.de (Postfix, from userid 107) id 717B47A62; Mon, 19 Jul 2004 20:41:27 +0200 (MET DST) Date: Mon, 19 Jul 2004 20:41:27 +0200 From: Joerg Wunsch To: freebsd-sparc64@freebsd.org Message-ID: <20040719184127.GA20452@ida.interface-business.de> References: <20040719170238.GA3121@sunhsc.germany.sun.com> <20040719172658.GC10699@electra.cse.Buffalo.EDU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040719172658.GC10699@electra.cse.Buffalo.EDU> User-Agent: Mutt/1.4.2.1i X-Phone: +49-351-31809-14 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Organization: interface systems GmbH, Dresden Subject: Re: Quad ethernet card on AXi starts with identical MAC addresses on 5.2.1R X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joerg Wunsch List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 18:41:29 -0000 As Ken Smith wrote: > > > I am just wondering if that behavior is as intended. > > Yes, unless you set local-mac-address? to true in OBP. > I would be interested in knowing if this works. Last time I tried it on FreeBSD, it didn't work. > The pathway I followed seemed to dig the MAC address out of the > ID-PROM no matter what. In particular hme_pci_attach() seems to > call OF_getetheraddr() which in turn seems to blindly dig the MAC > address out of the idprom. I've also got that impression. I'd also be interested in a way to dig out the MAC address of the card (which must be possible, somehow -- after all, there are four address labels on the NVRAM [or whatever it is] on the card itself), so it would be possible to e. g. use a QFE card (which once has been a huge investment) on a non-sparc64 FreeBSD system. It seems that right now, the only dependency of the hme driver on sparc64 is the call to OFW to obtain the MAC address... -- J"org Wunsch Unix support engineer joerg_wunsch@interface-systems.de http://www.interface-systems.de/~j/