Some Linux drivers like the smc911x driver, as used on TQMA31, rely on the MAC 
address
in the appropriate register, but U-Boot resets the controller after every 
transfer.
A patch for the Linux driver is necessary to extract the MAC address from the 
kernel
boot parameter line and set the MAC address register accordingly.
This patch adds the kernel parameter "ethaddr" to the U-Boot default 
environment so that the
user cannot forget it.

Signed-off-by: Jens Gehrlein <[EMAIL PROTECTED]>
---

Replaced whitespaces by tab.
Fixed typos in patch description.


 include/configs/TQMA31.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/include/configs/TQMA31.h b/include/configs/TQMA31.h
index c753ccc..f79cdd3 100644
--- a/include/configs/TQMA31.h
+++ b/include/configs/TQMA31.h
@@ -271,6 +271,7 @@
                "console=ttymxc0,115200\0"                              \
        "bootargs_nfs=setenv bootargs ${bootargs} "                     \
                "root=/dev/nfs rw "                                     \
+               "ethaddr=${ethaddr} "                                   \
                "ip=${ipaddr}:${serverip}:${gatewayip}:"                \
                        "${netmask}:${hostname}:${netdev}:off "         \
                "panic=1 "                                              \


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to