Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/tc Only prototype and include code for scc_kbd...
details: https://anonhg.NetBSD.org/src/rev/d3701819810d
branches: trunk
changeset: 480701:d3701819810d
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Jan 18 12:19:49 2000 +0000
description:
Only prototype and include code for scc_kbd_init() and scc_mouse_init()
if NRASTERCONSOLE > 0. Fixes problem reported on port-pmax by Anders
Andersson.
diffstat:
sys/arch/pmax/tc/scc.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (45 lines):
diff -r 4730661848a5 -r d3701819810d sys/arch/pmax/tc/scc.c
--- a/sys/arch/pmax/tc/scc.c Tue Jan 18 08:02:30 2000 +0000
+++ b/sys/arch/pmax/tc/scc.c Tue Jan 18 12:19:49 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scc.c,v 1.61 2000/01/10 03:24:41 simonb Exp $ */
+/* $NetBSD: scc.c,v 1.62 2000/01/18 12:19:49 simonb Exp $ */
/*
* Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: scc.c,v 1.61 2000/01/10 03:24:41 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scc.c,v 1.62 2000/01/18 12:19:49 simonb Exp $");
#include "opt_ddb.h"
@@ -231,8 +231,10 @@
static void scc_modem_intr __P((dev_t));
static void sccreset __P((struct scc_softc *));
+#if NRASTERCONSOLE > 0
static void scc_kbd_init __P((struct scc_softc *sc, dev_t dev));
static void scc_mouse_init __P((struct scc_softc *sc, dev_t dev));
+#endif
static void scc_tty_init __P((struct scc_softc *sc, dev_t dev));
static void scc_txintr __P((struct scc_softc *, int, scc_regmap_t *));
@@ -450,6 +452,7 @@
splx(s);
}
+#if NRASTERCONSOLE > 0
static void
scc_kbd_init(sc, dev)
struct scc_softc *sc;
@@ -512,6 +515,7 @@
splx(s);
}
+#endif
/*
Home |
Main Index |
Thread Index |
Old Index