From 12edbc6ad61dae3987fd015a7d6eb87f9e9919d7 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 22 May 2009 14:45:34 +0000 Subject: [PATCH] lm3s ethernet works git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1815 42af7a65-404d-4744-a932-0658087f49c3 --- configs/eagle100/src/up_ethernet.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/eagle100/src/up_ethernet.c b/configs/eagle100/src/up_ethernet.c index 81c07d021bf..d8ee03f8abc 100644 --- a/configs/eagle100/src/up_ethernet.c +++ b/configs/eagle100/src/up_ethernet.c @@ -41,6 +41,7 @@ #include #include +#include #include #include @@ -81,7 +82,9 @@ void lm3s_ethernetmac(struct ether_addr *ethaddr) user0 = getreg32(LM3S_FLASH_USERREG0); user1 = getreg32(LM3S_FLASH_USERREG1); - DEBUGASSERT(user0 != 0xffffffff && user1 == 0xffffffff); + + nlldbg("user: %06x:%06x\n", user1 & 0x00ffffff, user0 & 0x00ffffff); + DEBUGASSERT(user0 != 0xffffffff && user1 != 0xffffffff); /* Re-format that MAC address the way that uIP expects to see it */