diff options
author | root <root@ka-ata-killa.ourano.james.local> | 2021-03-19 13:01:32 +0000 |
---|---|---|
committer | root <root@ka-ata-killa.ourano.james.local> | 2021-03-19 13:01:37 +0000 |
commit | 9a114ea452c413285fcc47caf4d10cf4e5a22442 (patch) | |
tree | b8fc5455233e7e53d4ca1035bb3302b29ed6e968 | |
parent | f8e862f3b5e69de90d6bf20c2642271d324b4fc3 (diff) | |
download | clock-9a114ea452c413285fcc47caf4d10cf4e5a22442.tar.gz clock-9a114ea452c413285fcc47caf4d10cf4e5a22442.tar.bz2 clock-9a114ea452c413285fcc47caf4d10cf4e5a22442.zip |
now we have muticies, handle more than one frame per interrupt
-rw-r--r-- | app/steth.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |