Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci In tiocm_to_cztty(), use SET() instead of CLR() ...



details:   https://anonhg.NetBSD.org/src/rev/92811ee5b87c
branches:  trunk
changeset: 486333:92811ee5b87c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 19 06:01:14 2000 +0000

description:
In tiocm_to_cztty(), use SET() instead of CLR() in the
TIOCMBIS case.  "Oops!"

diffstat:

 sys/dev/pci/cz.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r beec7f6223e8 -r 92811ee5b87c sys/dev/pci/cz.c
--- a/sys/dev/pci/cz.c  Fri May 19 05:28:47 2000 +0000
+++ b/sys/dev/pci/cz.c  Fri May 19 06:01:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cz.c,v 1.2 2000/05/18 17:55:17 thorpej Exp $   */
+/*     $NetBSD: cz.c,v 1.3 2000/05/19 06:01:14 thorpej Exp $   */
 
 /*-
  * Copyright (c) 2000 Zembu Labs, Inc.
@@ -1218,7 +1218,7 @@
                break;
 
        case TIOCMBIS:
-               CLR(sc->sc_chanctl_rs_control, czttybits);
+               SET(sc->sc_chanctl_rs_control, czttybits);
                break;
 
        case TIOCMSET:



Home | Main Index | Thread Index | Old Index