summaryrefslogtreecommitdiff
path: root/sys/arch/arc/dev
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-09-30 14:36:47 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-09-30 14:36:47 +0000
commit85e8fa8d4460a7ed42374108ad0740ec2f3559be (patch)
tree11cd4b465b599874c5486a61d946b422ba81a824 /sys/arch/arc/dev
parent7b075ce766ba84de42886094639a0e8a33fe6131 (diff)
Fixed bug in xmit error handler.
Diffstat (limited to 'sys/arch/arc/dev')
-rw-r--r--sys/arch/arc/dev/if_sn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arc/dev/if_sn.c b/sys/arch/arc/dev/if_sn.c
index ca0b085bfc6..f95487b2b44 100644
--- a/sys/arch/arc/dev/if_sn.c
+++ b/sys/arch/arc/dev/if_sn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sn.c,v 1.4 1996/09/21 10:57:21 deraadt Exp $ */
+/* $OpenBSD: if_sn.c,v 1.5 1996/09/30 14:36:46 pefo Exp $ */
/*
* National Semiconductor SONIC Driver
* Copyright (c) 1991 Algorithmics Ltd (http://www.algor.co.uk)
@@ -1072,7 +1072,7 @@ sonictxint(sc)
if (mtdhead != mtdnext) {
printf("resubmitting remaining packets\n");
- csr->s_ctda = LOWER(mtdhead->mtd_txp);
+ csr->s_ctda = LOWER(v_tda + (mtdhead->mtd_txp - p_tda));
csr->s_cr = CR_TXP;
wbflush();
return;