sunhme: flush any queued packets when HME_MAC_RXCFG_ENABLE bit is raised
commit1058e1a377680e17bc8b56d5e9cab9559d47a3c1
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 30 Jun 2019 17:21:50 +0000 (30 18:21 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 2 Jul 2019 21:49:08 +0000 (2 22:49 +0100)
tree8dc7f40be2ac22d4fdc58f69260db52dcd93b72d
parent076489c043a22fe9be8f3458fbc9012b1fc0606f
sunhme: flush any queued packets when HME_MAC_RXCFG_ENABLE bit is raised

Some client drivers use this bit to pause and resume the driver so make sure
that queued packets are flushed when the MAC is disabled and then reactivated.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/net/sunhme.c