diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/dgb/dgb.c | 6 | ||||
-rw-r--r-- | sys/dev/dgb/dgm.c | 6 | ||||
-rw-r--r-- | sys/gnu/i386/isa/dgb.c | 6 | ||||
-rw-r--r-- | sys/gnu/i386/isa/dgm.c | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c index 7da59b0..127dfe9 100644 --- a/sys/dev/dgb/dgb.c +++ b/sys/dev/dgb/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/dev/dgb/dgm.c b/sys/dev/dgb/dgm.c index f4243bd..c9d9cab 100644 --- a/sys/dev/dgb/dgm.c +++ b/sys/dev/dgb/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 diff --git a/sys/gnu/i386/isa/dgb.c b/sys/gnu/i386/isa/dgb.c index 7da59b0..127dfe9 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 f4243bd..c9d9cab 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 |