Permalink
Browse files

Minor tweaks.

  • Loading branch information...
1 parent 4c03f59 commit de0fd09d54793f0dbe8afbfe5ddcab7ed085a097 ad committed Sep 18, 2002
Showing with 5 additions and 15 deletions.
  1. +3 −3 sys/arch/pmax/ibus/dz_ibus.c
  2. +2 −12 sys/arch/pmax/ibus/pm.c
View
6 sys/arch/pmax/ibus/dz_ibus.c
@@ -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 @@ dz_ibus_attach(struct device *parent, struct device *self, void *aux)
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 @@ dzputc(struct dz_linestate *ls, int ch)
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);
View
14 sys/arch/pmax/ibus/pm.c
@@ -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 @@ pm_cnattach(void)
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);
}

0 comments on commit de0fd09

Please sign in to comment.