Subject: Re: [PATCH 10/17] bootwrapper: Add dt_set_mac_addresses().

From: Segher Boessenkool <[email-masked]>
Date: Wed, 21 Mar 2007 23:01:19 +0100

>> Just everything everywhere that mentions "mac-address" should be
>> completely and utterly eradicated :-)
>
> FYI -
> On a recent build of IBM ofw, on a 8844 booted from the ethernet@4,1
>
> find /proc/device-tree/ -path \*ethernet@4,1\*
> primero ~# find /proc/device-tree/ -path \*ethernet@4,*

> /proc/device-tree/pci@8000000f8000000/pci@2/ethernet@4,1/mac-address
> /proc/device-tree/pci@8000000f8000000/pci@2/ethernet@4,1/local-mac- 
> address

That's a real OF so yes it should have the "mac-address"
property if it initialised the device.

However, no consumer (except maybe a second-stage bootloader,
and even then it's dubious on modern systems) should use it;
"local-mac-address" is what you want.  Really.

Segher