Need testers for patch to get MAC address of integrated dc(4) cards

Pete Bentley pete at sorted.org
Thu Jan 8 10:51:29 PST 2004


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.


More information about the freebsd-sparc64 mailing list