Remove a couple of references to vaddrs.h that slipped through.

This commit is contained in:
eeh 2000-06-24 16:51:34 +00:00
parent 61f43e2b27
commit 8e1fd2e3c6
2 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcons.c,v 1.1 2000/05/20 14:23:12 eeh Exp $ */
/* $NetBSD: pcons.c,v 1.2 2000/06/24 16:51:36 eeh Exp $ */
/*-
* Copyright (c) 2000 Eduardo E. Horvath
@ -58,7 +58,6 @@
#include <dev/cons.h>
#include <sparc64/sparc64/vaddrs.h>
#include <sparc64/dev/cons.h>
static int pconsmatch __P((struct device *, struct cfdata *, void *));
@ -274,8 +273,13 @@ pcons_poll(aux)
struct pconssoftc *sc = aux;
struct tty *tp = sc->of_tty;
char ch;
static int nas = 0;
while (OF_read(stdin, &ch, 1) > 0) {
if (ch == 'a') {
if (nas++ > 3) Debugger();
} else nas = 0;
if (tp && (tp->t_state & TS_ISOPEN))
(*linesw[tp->t_line].l_rint)(ch, tp);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.68 2000/06/18 08:13:26 mrg Exp $ */
/* $NetBSD: machdep.c,v 1.69 2000/06/24 16:51:34 eeh Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -125,7 +125,6 @@
#include <machine/ctlreg.h>
#include <sparc64/sparc64/cache.h>
#include <sparc64/sparc64/vaddrs.h>
/* #include "fb.h" */