Fam Zheng 3b7031e960 milkymist-minimac2: Flush queued packets when link comes up
Drop .can_receive and move the semantics into minimac2_rx, by returning
0.

That is once minimac2_rx returns 0, incoming packets will be queued
until the queue is explicitly flushed. We do this when s->regs[R_STATE0]
or s->regs[R_STATE1] is changed in minimac2_write.

Also drop the unused trace point.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1436955553-22791-9-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2015-07-27 14:12:18 +01:00
..
2015-07-20 17:47:24 +01:00
2015-07-13 13:35:51 +01:00
2015-07-24 13:07:10 +01:00
2015-07-13 13:35:51 +01:00
2015-07-20 12:21:18 -04:00
2015-07-08 10:09:55 +03:00
2015-07-14 19:10:03 +02:00
2015-07-27 14:12:18 +01:00
2015-07-22 14:56:01 -06:00
2015-07-20 13:25:28 +01:00