Subject: Re: hme sbus mac address question
To: Julian Coleman <jdc@coris.org.uk>
From: Anthony Sofia <anthony@dryhump.net>
List: port-sparc
Date: 01/25/2004 10:46:37
Julian,

This patch works and I verified the correct mac address is in the ethernet
frame headers on the wire. Thanks for the help.

On Sun, Jan 25, 2004 at 10:22:06AM +0000, Julian Coleman said:
>> No dice. The mac address that gets set using the local-mac-address property
>> is not right. I was having the same problem and noticed nothing is actually
>> being retrieved from openboot during that PROM_getprop call.
>
>Not quite sure what was happening when passing a buffer to PROM_getprop().
>I verified that it was retreiving the MAC address that I'd set at the PROM.
>The attached patch seems to do the right thing for me:
>
>> hme0 at sbus0 slot 2 offset 0x8c00000 level 4 (ipl 7): Sun Happy Meal Ethernet (SUNW,hme)
>> local-mac-address set: hme0: Ethernet address 08:00:20:00:01:ea
>> nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
>> nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>
>Could you check that it also works for you, please?
>

Anthony Sofia (anthony@dryhump.net)
--
I'll take care of those murderous trolls.