Mike Frysinger wrote:
> so implement this in your board file in misc_init_r or board_eth_init.  have
> the code do something like:
>       uchar enetaddr[6];
>       if (!eth_getenv_enetaddr("ethaddr", enetaddr)) {
>               /* ... read current MAC out of the driver's registers ... */
>               eth_setenv_enetaddr("ethaddr", enetaddr);
>       }
>
> then you dont need ugly config hacks in random drivers

This is a feature that could be applied to the e1000 drivers.  The current 
situation is a mess.  Some drivers ignore the environment, some of them always 
use it.  This should probably be standardized.

-- 
Timur Tabi
Linux kernel developer at Freescale
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to