qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 808fb9: xilinx_ethlite: fix eth_can_rx() for


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 808fb9: xilinx_ethlite: fix eth_can_rx() for ping-pong
Date: Sat, 26 Jan 2013 16:30:07 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 808fb9f277abda16601e9db938d29aeaf2548585
      
https://github.com/qemu/qemu/commit/808fb9f277abda16601e9db938d29aeaf2548585
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M hw/xilinx_ethlite.c

  Log Message:
  -----------
  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 <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 2f991adb8e8cad3233ae653be12cfd72d44168ba
      
https://github.com/qemu/qemu/commit/2f991adb8e8cad3233ae653be12cfd72d44168ba
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M hw/xilinx_ethlite.c

  Log Message:
  -----------
  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 <address@hidden>
Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: a56d305a6d706cd75cfe0fa473f45772694f2a4a
      
https://github.com/qemu/qemu/commit/a56d305a6d706cd75cfe0fa473f45772694f2a4a
  Author: Peter Crosthwaite <address@hidden>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M hw/m25p80.c

  Log Message:
  -----------
  m25p80.c: Return state to IDLE after COLLECTING

Default to moving back to the IDLE state after the COLLECTING_DATA
state. For a well behaved guest this patch has no consequence, but
A bad guest could crash QEMU by using one of the erase commands
followed by a longer than 5 byte argument (undefined behaviour).

Signed-off-by: Peter Crosthwaite <address@hidden>
Signed-off-by: Edgar E. Iglesias <address@hidden>


  Commit: 6034fe7bdb555c43022706e228cde8d52a8b341a
      
https://github.com/qemu/qemu/commit/6034fe7bdb555c43022706e228cde8d52a8b341a
  Author: Edgar E. Iglesias <address@hidden>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M hw/xilinx_ethlite.c

  Log Message:
  -----------
  xilinx_ethlite: Avoid build warnings in debug code

Signed-off-by: Edgar E. Iglesias <address@hidden>


Compare: https://github.com/qemu/qemu/compare/13144781d4e9...6034fe7bdb55

reply via email to

[Prev in Thread] Current Thread [Next in Thread]