From owner-freebsd-sparc64@FreeBSD.ORG Thu Jan 8 10:51: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 5EB9616A4CE for ; Thu, 8 Jan 2004 10:51:29 -0800 (PST) Received: from radix.sorted.org (radix.sorted.org [194.70.217.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB27743D1F for ; Thu, 8 Jan 2004 10:51:27 -0800 (PST) (envelope-from pete@sorted.org) Received: by radix.sorted.org (Postfix, from userid 501) id C37942B926; Thu, 8 Jan 2004 18:51:25 +0000 (GMT) Date: Thu, 8 Jan 2004 18:51:25 +0000 From: Pete Bentley To: sparc64@freebsd.org Message-ID: <20040108185125.GA92398@sorted.org> References: <20040108094116.GU2060@elvis.mu.org> <20040108175835.A95298@newtrinity.zeist.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040108175835.A95298@newtrinity.zeist.de> User-Agent: Mutt/1.4.1i Subject: Re: Need testers for patch to get MAC address of integrated dc(4) cards X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 18:51:29 -0000 On Thu, Jan 08, 2004 at 05:58:35PM +0100, Marius Strobl wrote: > The patch is compile tested but otherwise not (yet) tested on my side. > I probably won't be able to really test it in time for getting it into > 5.2-RELEASE, so if you own a Netra X1 or a Sunfire V100 please give it > a try an reply with all the dcX lines you get in /var/run/dmesg.boot. After minimal testing, it appears to be functionally identical to the previous patch I was using (the one that called OF_getprop( ..., "local-mac-address") from inside if_dc.c). This on a X1 with -CURRENT as of about 2 hours ago with just this patch applied:- dc0: port 0x10000-0x100ff at device 12.0 on pci0 dc0: Ethernet address: 00:03:ba:06:2a:a6 dc1: port 0x10100-0x101ff mem 0x2000-0x20ff at device 5.0 on pci0 dc1: Ethernet address: 00:03:ba:06:2a:a7 [...] dc0: failed to force tx and rx to idle state dc0: failed to force tx and rx to idle state dc0: failed to force tx and rx to idle state dc0: failed to force tx and rx to idle state Surely we can do better than OF_getetheraddr2() as a name though :) Pete.