Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/sparc64/include Pull up revision 1.6 (requeste...



details:   https://anonhg.NetBSD.org/src/rev/3e93a23bba0d
branches:  netbsd-1-6
changeset: 529674:3e93a23bba0d
user:      he <he%NetBSD.org@localhost>
date:      Sat Dec 07 21:27:43 2002 +0000

description:
Pull up revision 1.6 (requested by abs in ticket #890):
  Allow sparc64 kernels to be compiled without kbd.

diffstat:

 sys/arch/sparc64/include/z8530var.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 7425d1e294f4 -r 3e93a23bba0d sys/arch/sparc64/include/z8530var.h
--- a/sys/arch/sparc64/include/z8530var.h       Sat Dec 07 21:25:02 2002 +0000
+++ b/sys/arch/sparc64/include/z8530var.h       Sat Dec 07 21:27:43 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: z8530var.h,v 1.5 2002/03/11 07:11:26 chs Exp $ */
+/*     $NetBSD: z8530var.h,v 1.5.6.1 2002/12/07 21:27:43 he Exp $      */
 
 /*
  * Copyright (c) 1992, 1993
@@ -47,6 +47,9 @@
 #include <machine/bus.h>
 #include <dev/ic/z8530sc.h>
 
+#include "kbd.h"       /* NKBD */
+
+#if (NKBD > 0)
 /*
  * Need to override cn_console_dev() for zstty and zskbd.
  */
@@ -56,6 +59,7 @@
 extern struct consdev *cn_hw;
 extern struct consdev *cn_tab;
 #define cn_isconsole(d)        ((d) == cn_tab->cn_dev || (d) == cn_hw->cn_dev)
+#endif
 
 struct zsc_softc {
        struct device           zsc_dev;        /* base device */



Home | Main Index | Thread Index | Old Index