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 <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
Peter Crosthwaite 2013-04-16 10:28:35 +10:00 committed by Edgar E. Iglesias
parent 3630ae952a
commit 42bb9c9178
6 changed files with 186 additions and 66 deletions

View file

@ -1,11 +1,11 @@
#include "hw/stream.h"
size_t
stream_push(StreamSlave *sink, uint8_t *buf, size_t len, uint32_t *app)
stream_push(StreamSlave *sink, uint8_t *buf, size_t len)
{
StreamSlaveClass *k = STREAM_SLAVE_GET_CLASS(sink);
return k->push(sink, buf, len, app);
return k->push(sink, buf, len);
}
bool