diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-09-09 18:00:13 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-09-09 18:00:13 +0000 |
commit | be7679e03da5bfac034c384fdd62b70afef88326 (patch) | |
tree | db2080f7e6eea0498dafc81c28d025c86dfab75a /nuttx/ChangeLog | |
parent | ee33d383fb7036714820ca65aab3b0fe08aa2130 (diff) | |
download | px4-nuttx-be7679e03da5bfac034c384fdd62b70afef88326.tar.gz px4-nuttx-be7679e03da5bfac034c384fdd62b70afef88326.tar.bz2 px4-nuttx-be7679e03da5bfac034c384fdd62b70afef88326.zip |
This two FIFO handling bugs in LM3S ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2031 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r-- | nuttx/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index f0c105788..6c138a9f1 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -848,3 +848,11 @@ argument to macro caused strcasecmp() and strncasecmp() to fail. * lib/lib_strstr.c: Length of substring off by one causes false alarm sub-string matches. + * arch/arm/src/lm3s/lm3s_ethernet.c: Fix errors in LMS6918 FIFO length + handling. (1) The incorrect size of the ethernet header was being + subtracted on outgoing messages (4 vs 14), which caused outgoing messages to + be a little too long. (2) The size of incoming FIFO messages is 6 bytes + larger than it expected (2 for the length and 4 for the FCS). The unhandled + extra two bytes of length cause the driver to sometimes read one too many + words from the received FIFO (corrupting the next queued receive packet, + if any). |