summary refs log tree commit diff stats
path: root/target-openrisc/exception_helper.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>2013-01-26 12:36:22 -0800
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2013-01-27 00:48:39 +0100
commit808fb9f277abda16601e9db938d29aeaf2548585 (patch)
tree09017038787b883c4ec25e5e9b67cea67096530b /target-openrisc/exception_helper.c
parent13144781d4e9e6100b398213f9000576a3dc88f9 (diff)
downloadfocaccia-qemu-808fb9f277abda16601e9db938d29aeaf2548585.tar.gz
focaccia-qemu-808fb9f277abda16601e9db938d29aeaf2548585.zip
xilinx_ethlite: fix eth_can_rx() for ping-pong
The eth_can_rx() function only checks the first buffers status ("ping"). The
controller should be able to receive into "pong" when ping-pong is enabled.
Checks the active buffer (either "ping" or "pong") when determining can_rx()
rather than just testing "ping".

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'target-openrisc/exception_helper.c')
0 files changed, 0 insertions, 0 deletions