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

Timur Tabi timur at freescale.com
Thu Mar 22 06:10:13 EST 2007


Segher Boessenkool wrote:

>> Eh, I don't think I agree with that.  mac-address is supposed to be 
>> used if it exists, because it represents the "most recent MAC address".
> 
> That's policy and belongs in user land, not in the kernel,
> and certainly not in a device driver.

The device driver needs to know what MAC address to program into the hardware when it 
initializes it.  Everything else the driver needs is also in the device tree.  So you're 
saying the driver should ignore the MAC address fields, and then when it needs a MAC 
address, it should ......... ?

-- 
Timur Tabi
Linux Kernel Developer @ Freescale



More information about the Linuxppc-dev mailing list