Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2004 18:51:25 +0000
From:      Pete Bentley <pete@sorted.org>
To:        sparc64@freebsd.org
Subject:   Re: Need testers for patch to get MAC address of integrated dc(4) cards
Message-ID:  <20040108185125.GA92398@sorted.org>
In-Reply-To: <20040108175835.A95298@newtrinity.zeist.de>
References:  <20040108094116.GU2060@elvis.mu.org> <20040108175835.A95298@newtrinity.zeist.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Davicom DM9102A 10/100BaseTX> port 0x10000-0x100ff at device 12.0 on pci0
dc0: Ethernet address: 00:03:ba:06:2a:a6
dc1: <Davicom DM9102A 10/100BaseTX> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040108185125.GA92398>