Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/tc - Errors in case analysis...



details:   https://anonhg.NetBSD.org/src/rev/3cdd28a175a2
branches:  trunk
changeset: 473638:3cdd28a175a2
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Fri Jun 11 01:44:47 1999 +0000

description:
- Errors in case analysis...

diffstat:

 sys/dev/tc/sfb.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 0080653a312e -r 3cdd28a175a2 sys/dev/tc/sfb.c
--- a/sys/dev/tc/sfb.c  Fri Jun 11 00:56:09 1999 +0000
+++ b/sys/dev/tc/sfb.c  Fri Jun 11 01:44:47 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sfb.c,v 1.16 1999/06/11 00:56:09 nisimura Exp $ */
+/* $NetBSD: sfb.c,v 1.17 1999/06/11 01:44:47 nisimura Exp $ */
 
 /*
  * Copyright (c) 1998, 1999 Tohru Nishimura.  All rights reserved.
@@ -32,7 +32,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.16 1999/06/11 00:56:09 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfb.c,v 1.17 1999/06/11 01:44:47 nisimura Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -78,7 +78,8 @@
  *                     u_int8_t u2;
  *                     unsigned :8; 
  *             } bt_lo;
- *             ...
+ *             struct {
+ *
  * Although HX has single Bt459, 32bit R/W can be done w/o any trouble.
  *     struct bt459reg {
  *                u_int32_t       bt_lo;
@@ -986,7 +987,7 @@
                }
        }
        /* copy forward (left-to-right) */
-       else if (dstcol > srccol || srccol + ncols >= dstcol) {
+       else if (dstcol < srccol || srccol + ncols < dstcol) {
                caddr_t sq = sp, dq = dp;
 
                w = width;



Home | Main Index | Thread Index | Old Index