commit | c6fa443b3dab9f49fb157b0164f5852fde68ed3b | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Tue May 13 16:09:36 2014 +0100 |
committer | Peter Maydell <peter.maydell@linaro.org> | Tue May 13 16:09:36 2014 +0100 |
tree | a22a1c4604024fe90560296de97ab0dfa833bcf4 | |
parent | 7fd5f064d1c1a827a95ffe678418b3d5b8d2f108 [diff] |
hw/net/stellaris_enet: Rewrite tx fifo handling code The datasheet is clear that the frame length written to the DATA register is actually stored in the TX FIFO; this means we don't need to keep both tx_frame_len and tx_fifo_len state separately. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>