OSDN Git Service

xilinx_ethlite: Flush queued packets on SW service
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Sat, 26 Jan 2013 20:36:23 +0000 (12:36 -0800)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Sat, 26 Jan 2013 23:48:40 +0000 (00:48 +0100)
commit2f991adb8e8cad3233ae653be12cfd72d44168ba
treeac4f82c27a4d4251084ff581fbebd23ea494fcb7
parent808fb9f277abda16601e9db938d29aeaf2548585
xilinx_ethlite: Flush queued packets on SW service

Software services a received packet by clearing the CTRL_S bit in the RX_CTRLn
register. If this bit is cleared, flush any packets queued for the device.

Reported-by: John Williams <john.williams@xilinx.com>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/xilinx_ethlite.c