From 9a114ea452c413285fcc47caf4d10cf4e5a22442 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Mar 2021 13:01:32 +0000 Subject: now we have muticies, handle more than one frame per interrupt --- app/steth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/steth.c b/app/steth.c index 2502770..e861606 100644 --- a/app/steth.c +++ b/app/steth.c @@ -258,7 +258,8 @@ static void steth_nis (void) { if (eth_irq_ack_pending (ETH_DMASR_RS)) - steth_rx(); + while (! (ETH_DES0 (RxBD) & ETH_RDES0_OWN)) + steth_rx(); } void -- cgit v1.2.3