Statistics
| Branch: | Revision:

root / hw / net / xilinx_axienet.c @ f487b677

History | View | Annotate | Download (27.9 kB)

# Date Author Comment
4e298e46 06/10/2013 02:00 pm Stefan Weil

xilinx_axienet: Fix bit mask code

Obviously the code wanted to mask the lower bits but failed to do so
because of a missing "<".

cppcheck detected a conditional expression which was always true (1 < 7).

Signed-off-by: Stefan Weil <>
Signed-off-by: Edgar E. Iglesias <>

35e60bfd 04/16/2013 11:04 am Peter Crosthwaite

stream: Add flow control API

Add basic flow control to stream. A stream slave may return short, indicating
that it is not capable of accepting any more data at the present time. Polling
or a callback can be used via the can_push() function to determine when the...

3630ae95 04/16/2013 11:04 am Peter Crosthwaite

xilinx_axienet/dma: Implement rx path flow control

Implement flow control for the RX data path from xilinx_axienet->xilinx_axidma.
On short return from axidma, then ethernet sets up the notify callback to resume
transfer from where it left off.

This also allows the ethernet to track whether there is an in progress transaction...

42bb9c91 04/16/2013 11:04 am Peter Crosthwaite

stream: Remove app argument hack

The uint32_t *app argument doesn't exist in real hardware. It was a hack in
xilinx_axidma/enet to fake the (secondary) control stream connection. Removed
the argument and added the second stream to axienet/dma.

Signed-off-by: Peter Crosthwaite <>...

545129e5 04/16/2013 11:04 am Peter Crosthwaite

xilinx_axienet: typedef XilinxAXIEnet struct

Typedef xilinx_axienets object state struct to shorten the repeated usages of
struct XilinxAXIEnet.

Signed-off-by: Peter Crosthwaite <>
Reviewed-by: Andreas Färber <>...

f0e7a81c 04/16/2013 11:04 am Peter Crosthwaite

xilinx_axienet: Defined and use type cast macro

Standard QOM cast macro. Replaces usages of FROM_SYSBUS

Signed-off-by: Peter Crosthwaite <>
Reviewed-by: Andreas Färber <>
Acked-by: Edgar E. Iglesias <>...

9ee0ceb7 04/16/2013 11:04 am Peter Crosthwaite

xilinx_axienet: Register reset properly

Register the reset function and the Device::reset function rather than
explicitly call it from the sysbus::init.

Signed-off-by: Peter Crosthwaite <>
Reviewed-by: Andreas Färber <>...

b2d9dfe9 04/16/2013 11:04 am Peter Crosthwaite

xilinx_axienet: converted init->realize

The prescribed transition from SysBusDevice::init to Device::realize. Im going
with Andreas suggestion to move the sysbus foo to Object::init for early IRQ
visibility.

Signed-off-by: Peter Crosthwaite <>...

55b3e0c2 04/16/2013 11:04 am Peter Crosthwaite

xilinx_axienet: Create Proxy object for stream

Create a separate child object to proxy the stream slave connection. This is
setup for future work where a second stream slave connection is needed. The
new child object is created at qdev init time and is linked back to the parent...

49ab747f 04/08/2013 07:13 pm Paolo Bonzini

hw: move target-independent files to subdirectories

This patch tackles all files that are compiled once, moving
them to subdirectories of hw/.

Signed-off-by: Paolo Bonzini <>