[U-Boot] [PATCH 5/5] smc911x: allow mac address to be kept after smc911x_halt

Mike Rapoport mike at compulab.co.il
Wed Nov 11 17:05:24 CET 2009



Mike Frysinger wrote:
> On Wednesday 11 November 2009 03:03:04 Mike Rapoport wrote:
>> The smc911x_halt gets called after completion of network opration
>> and resets the chip. When there is no SROM attached to the SMSC, MAC
>> address gets reset as well. Add CONFIG_SMC911X_KEEP_MAC option to allow
>> boards with no SROM instruct the SMSC driver to keep mac address after the
>> reset
> 
> the mac already has proper storage -- the environment.  please read 
> doc/REAdME.enetaddr.  so i dont thinkt his option should be added.

If you have no network activity in U-Boot the mac address never gets from the
environment to the SMSC chip. So, when the kernel boots there's no mac address
neither in the chip registers nor in (absent) SROM.

> -mike

-- 
Sincerely yours,
Mike.



More information about the U-Boot mailing list