diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2011-10-28 02:10:27 +0400 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-01 11:50:21 -0500 |
commit | 90ea59fe7d121c722e1b44cb9bc0fad1ade73686 (patch) | |
tree | 81bba841c72ed36ee29f3c3e38db35abb02fedfa /hw/pl022.c | |
parent | aab2293687ee54a409f3fb53a1ab3595b595e0fb (diff) | |
download | qemu-90ea59fe7d121c722e1b44cb9bc0fad1ade73686.zip qemu-90ea59fe7d121c722e1b44cb9bc0fad1ade73686.tar.gz qemu-90ea59fe7d121c722e1b44cb9bc0fad1ade73686.tar.bz2 |
opencores_eth: fix RX path: FCS, padding and TL
OpenCores 10/100 Mbps Ethernet MAC specification doesn't clearly state
whether FCS is counted in the RX frame length or not. Looks like it is.
Append zero FCS to the received frames.
Get rid of big static buffer for RX frame padding, optimize it for the
most common MINFL value range.
Set RXD_TL for the long frames only when HUGEN bit is set.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pl022.c')
0 files changed, 0 insertions, 0 deletions