diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-05-22 14:45:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-05-22 14:45:34 +0000 |
commit | 52eb43e1c47814d05a2daeb8dd03472fee672c5f (patch) | |
tree | f59864ab5b4e0713549de772ed98d74140cf15a5 /nuttx/configs | |
parent | 15c813c4abca809b36756f66efb51ab6532f447f (diff) | |
download | px4-nuttx-52eb43e1c47814d05a2daeb8dd03472fee672c5f.tar.gz px4-nuttx-52eb43e1c47814d05a2daeb8dd03472fee672c5f.tar.bz2 px4-nuttx-52eb43e1c47814d05a2daeb8dd03472fee672c5f.zip |
lm3s ethernet works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1815 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/eagle100/src/up_ethernet.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/configs/eagle100/src/up_ethernet.c b/nuttx/configs/eagle100/src/up_ethernet.c index 81c07d021..d8ee03f8a 100644 --- a/nuttx/configs/eagle100/src/up_ethernet.c +++ b/nuttx/configs/eagle100/src/up_ethernet.c @@ -41,6 +41,7 @@ #include <nuttx/config.h>
#include <sys/types.h>
+#include <debug.h>
#include <assert.h>
#include <arch/board/board.h>
@@ -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 */
|