[PATCH 10/17] bootwrapper: Add dt_set_mac_addresses().
Segher Boessenkool
segher at kernel.crashing.org
Thu Mar 22 09:01:19 EST 2007
>> 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 at 4,1
>
> find /proc/device-tree/ -path \*ethernet at 4,1\*
> primero ~# find /proc/device-tree/ -path \*ethernet at 4,*
> /proc/device-tree/pci at 8000000f8000000/pci at 2/ethernet at 4,1/mac-address
> /proc/device-tree/pci at 8000000f8000000/pci at 2/ethernet at 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
More information about the Linuxppc-dev
mailing list