summary refs log tree commit diff stats
path: root/hw/net/xilinx_ethlite.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* net: xilinx_ethlite: Fix Rx-pong interruptPeter Crosthwaite2014-06-091-1/+2
| | | | | | | | | There is no CTRL_I bit in the pong buffer control register. The CTRL_I bit from the ping buffer masks both ping and pong buffers. Fix. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
* net: xilinx_ethlite: Convert to realize()Peter Crosthwaite2014-06-091-11/+14
| | | | | | | | SysBusDevice::init is depracated. Convert to Object::init and Device::realize as prescribed by QOM conventions. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* net: xilinx_ethlite: Don't reset from initPeter Crosthwaite2014-06-091-1/+8
| | | | | | | | This zeroing-out of the rxbuf variable (ping pong state) is a reset side effect. Extract into a proper reset. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* xilinx_ethlite: QOM cast cleanupAndreas Färber2013-07-291-7/+13
| | | | Signed-off-by: Andreas Färber <afaerber@suse.de>
* hw/n*: pass owner to memory_region_init* functionsPaolo Bonzini2013-07-041-2/+2
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* memory: add owner argument to initialization functionsPaolo Bonzini2013-07-041-1/+1
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* hw: move NICs to hw/net/, configure via default-configs/Paolo Bonzini2013-04-081-0/+263
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>