summaryrefslogtreecommitdiff
path: root/sys/gnu
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-05-02 21:39:52 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-05-02 21:39:52 +0000
commit6ecf0f85fc7d4fe6b92d4711d022ff399a38c405 (patch)
treee6cc23ec125cf14f328b4aa5b304a55c338777b9 /sys/gnu
parentc062a8a30e482f84227958d8a44d5e3a85b91c02 (diff)
Notes
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/i386/isa/dgb.c6
-rw-r--r--sys/gnu/i386/isa/dgm.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/gnu/i386/isa/dgb.c b/sys/gnu/i386/isa/dgb.c
index 7da59b06b99c..127dfe992783 100644
--- a/sys/gnu/i386/isa/dgb.c
+++ b/sys/gnu/i386/isa/dgb.c
@@ -1,5 +1,5 @@
/*-
- * dgb.c $Id: dgb.c,v 1.45 1999/04/27 11:14:22 phk Exp $
+ * dgb.c $Id: dgb.c,v 1.46 1999/04/28 10:51:55 dt Exp $
*
* Digiboard driver.
*
@@ -2097,11 +2097,11 @@ dgbstart(tp)
if(tail>head) {
size=tail-head-LEAVE_FREE_CHARS;
if (size <0)
- size==0;
+ size=0;
} else {
size=port->txbufsize-head;
if(tail+port->txbufsize < head)
- size==0;
+ size=0;
}
}
#else
diff --git a/sys/gnu/i386/isa/dgm.c b/sys/gnu/i386/isa/dgm.c
index f4243bdfbe90..c9d9cab943c4 100644
--- a/sys/gnu/i386/isa/dgm.c
+++ b/sys/gnu/i386/isa/dgm.c
@@ -1,5 +1,5 @@
/*-
- * $Id: dgm.c,v 1.9 1999/04/27 11:14:24 phk Exp $
+ * $Id: dgm.c,v 1.10 1999/04/28 10:51:58 dt Exp $
*
* This driver and the associated header files support the ISA PC/Xem
* Digiboards. Its evolutionary roots are described below.
@@ -1897,11 +1897,11 @@ dgmstart(tp)
if(tail>head) {
size=tail-head-LEAVE_FREE_CHARS;
if (size <0)
- size==0;
+ size=0;
} else {
size=port->txbufsize-head;
if(tail+port->txbufsize < head)
- size==0;
+ size=0;
}
}
#else