aboutsummaryrefslogtreecommitdiffstats
path: root/hw/etraxfs_eth.c
diff options
context:
space:
mode:
authorLars Persson <larper@axis.com>2011-12-21 15:11:35 +0100
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2012-01-12 13:54:17 +0100
commit73a511decc9c87cbc1bac0012d990e4e74a648bf (patch)
treee830b615dc29c38e84d80391f14141321204b465 /hw/etraxfs_eth.c
parent9f6113c7e65a98a88bb95ff5fd8679fbb28f18d6 (diff)
etraxfs-dma: Model metadata and eop
- Send EOP flags to the out channels. - Send data descriptor metadata to the out channels. Signed-off-by: Lars Persson <larper@axis.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/etraxfs_eth.c')
-rw-r--r--hw/etraxfs_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/etraxfs_eth.c b/hw/etraxfs_eth.c
index b5252580a..5afa55fb2 100644
--- a/hw/etraxfs_eth.c
+++ b/hw/etraxfs_eth.c
@@ -540,7 +540,7 @@ static ssize_t eth_receive(VLANClientState *nc, const uint8_t *buf, size_t size)
return size;
}
-static int eth_tx_push(void *opaque, unsigned char *buf, int len)
+static int eth_tx_push(void *opaque, unsigned char *buf, int len, bool eop)
{
struct fs_eth *eth = opaque;