summary refs log tree commit diff stats
path: root/hw/net/cadence_gem.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-05-13 16:09:37 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-05-13 16:09:37 +0100
commit889ac2a32fd803f7222524d8f56aded1c3cbad3c (patch)
treee8eee5f9a55238c2ddef46a7c39fbf0a2c6c4070 /hw/net/cadence_gem.c
parenteacd606ca726b15ce9a5f0871f0c6598dbc8d6ae (diff)
downloadfocaccia-qemu-889ac2a32fd803f7222524d8f56aded1c3cbad3c.tar.gz
focaccia-qemu-889ac2a32fd803f7222524d8f56aded1c3cbad3c.zip
hw/net/stellaris_enet: Get rid of rx_fifo pointer
The rx_fifo pointer is awkward to migrate, and is actually
redundant since it is always possible to determine it from
the current rx[].len/.data and rx_fifo_len. Remove both
rx_fifo and rx_fifo_len from the state, replacing them with
a simple rx_fifo_offset which points at the current location
in the RX fifo.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'hw/net/cadence_gem.c')
0 files changed, 0 insertions, 0 deletions