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

Mike Frysinger vapier at gentoo.org
Wed Nov 11 17:32:28 CET 2009


On Wednesday 11 November 2009 11:05:24 Mike Rapoport wrote:
> 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.

this is correct u-boot behavior.  please read the faq.
http://www.denx.de/wiki/view/DULG/EthernetDoesNotWorkInLinux
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20091111/1ea9a2f5/attachment.pgp 


More information about the U-Boot mailing list