diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-02-03 07:57:55 +0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-02-24 04:47:01 +0400 |
commit | b807b5ff894b79e31ccd2ff5bd023577ecf45a6a (patch) | |
tree | cd2b1397541f4c301391a93a9ad058d1d4d02b89 /bsd-user | |
parent | e0db904d1dc97be0eed7fbb52954d03ec05bee07 (diff) |
opencores_eth: flush queue whenever can_receive can go from false to true
The following registers control whether MAC can receive frames:
- MODER.RXEN bit that enables/disables receiver;
- TX_BD_NUM register that specifies number of RX descriptors.
Notify QEMU networking core when the MAC is ready to receive frames.
Discard frame and raise BUSY interrupt when the frame arrives but the
current RX descriptor is not empty.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'bsd-user')
0 files changed, 0 insertions, 0 deletions