Source-Changes-HG archive

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

[src/ad_pmax_wscons]: src/sys/arch/pmax/ibus Minor tweaks.



details:   https://anonhg.NetBSD.org/src/rev/616e42b00795
branches:  ad_pmax_wscons
changeset: 523761:616e42b00795
user:      ad <ad%NetBSD.org@localhost>
date:      Wed Sep 18 18:17:58 2002 +0000

description:
Minor tweaks.

diffstat:

 sys/arch/pmax/ibus/dz_ibus.c |   6 +++---
 sys/arch/pmax/ibus/pm.c      |  14 ++------------
 2 files changed, 5 insertions(+), 15 deletions(-)

diffs (66 lines):

diff -r 2f2d0f5b33bb -r 616e42b00795 sys/arch/pmax/ibus/dz_ibus.c
--- a/sys/arch/pmax/ibus/dz_ibus.c      Wed Sep 18 16:53:13 2002 +0000
+++ b/sys/arch/pmax/ibus/dz_ibus.c      Wed Sep 18 18:17:58 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dz_ibus.c,v 1.1.2.2 2002/09/18 16:53:13 ad Exp $       */
+/*     $NetBSD: dz_ibus.c,v 1.1.2.3 2002/09/18 18:17:58 ad Exp $       */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -197,7 +197,7 @@
 
        sc->sc_dsr = 0x0f; /* XXX check if VS has modem ctrl bits */
 
-       printf(": DC-7805");
+       printf(": DC-7805, 4 lines");
        ibus_intr_establish(parent, (void *)iba->ia_cookie, IPL_TTY,
            dz_ibus_intr, sc);
        dzattach(sc, NULL);
@@ -400,7 +400,7 @@
                line = ls->dz_line;
                dzr = (volatile struct dzregs *)ls->dz_sc->sc_ioh;
                s = spltty();
-               putc(ch, &ls->dz_sc->sc_dz[line].dz_tty->t_outq);
+               putc(ch, &ls->dz_tty->t_outq);
                tcr = dzr->tcr;
                if ((tcr & (1 << line)) == 0)
                        dzr->tcr = tcr | (1 << line);
diff -r 2f2d0f5b33bb -r 616e42b00795 sys/arch/pmax/ibus/pm.c
--- a/sys/arch/pmax/ibus/pm.c   Wed Sep 18 16:53:13 2002 +0000
+++ b/sys/arch/pmax/ibus/pm.c   Wed Sep 18 18:17:58 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pm.c,v 1.1.16.3 2002/03/25 19:26:20 ad Exp $   */
+/*     $NetBSD: pm.c,v 1.1.16.4 2002/09/18 18:17:58 ad Exp $   */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pm.c,v 1.1.16.3 2002/03/25 19:26:20 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pm.c,v 1.1.16.4 2002/09/18 18:17:58 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -571,20 +571,10 @@
 
        ri = &pm_ri;
 
-       printf("pm_cnattach: 0\n");
-
        pm_common_init();
-
-       printf("pm_cnattach: 1\n");
-
        (*ri->ri_ops.alloc_attr)(ri, 0, 0, 0, &defattr);
-
-       printf("pm_cnattach: 2\n");
-
        wsdisplay_cnattach(&pm_stdscreen, ri, 0, 0, defattr);
 
-       printf("pm_cnattach: 3\n");
-
        return (1);
 }
 



Home | Main Index | Thread Index | Old Index