Hello David,
quoted
patch adds a module parameter which allows to keep the MAC address already
set (e.g. by the boot loader) if it is valid (otherwise the MAC address is read
from an optional EEPROM or randomly generated)
No way, for the same reason as your other patch.
Module parameters suck, use something generic.
is there a generic solution (yet)?
the goal is to support tftp-ing a kernel image from u-boot and doing
a rootnfs mount in the kernel (with the same MAC address)
it was suggested to set the MAC address from userspace/initrd which seems
to be a lot of overhead
I am aware of Danny Kukawka's work in a similar direction
the embedded approach would probably be to hand some board-specific
callback to the 'network layer' in order to obtain a MAC whenever it is
needed; this could replace/supplement random_ether_addr() found in many
drivers
regards, p.
--
Peter Meerwald
+43-664-2444418 (mobile)