Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/next68k/dev Don't use the direct console on color m...
details: https://anonhg.NetBSD.org/src/rev/958d6965610e
branches: trunk
changeset: 472416:958d6965610e
user: bad <bad%NetBSD.org@localhost>
date: Thu Apr 29 14:51:20 1999 +0000
description:
Don't use the direct console on color machines, which is currently not
supported. Use serial console instead.
>From Matt Debergalis PR 7488.
diffstat:
sys/arch/next68k/dev/nextcons.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r 5c15f3e0a1bb -r 958d6965610e sys/arch/next68k/dev/nextcons.c
--- a/sys/arch/next68k/dev/nextcons.c Thu Apr 29 14:38:39 1999 +0000
+++ b/sys/arch/next68k/dev/nextcons.c Thu Apr 29 14:51:20 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nextcons.c,v 1.1 1999/03/26 04:42:59 dbj Exp $ */
+/* $NetBSD: nextcons.c,v 1.2 1999/04/29 14:51:20 bad Exp $ */
/*
* Copyright (c) 1999 Darrin B. Jewell
@@ -53,6 +53,8 @@
#include <next68k/dev/nextdisplayvar.h>
#include <next68k/dev/nextkbdvar.h>
+#include <next68k/next68k/nextrom.h>
+
void nextcnprobe __P((struct consdev *));
void nextcninit __P((struct consdev *));
int nextcngetc __P((dev_t));
@@ -63,7 +65,13 @@
void
nextcnprobe(struct consdev *cp)
{
- cp->cn_pri = CN_INTERNAL;
+
+ if ((rom_machine_type == NeXT_WARP9)
+ || (rom_machine_type == NeXT_X15))
+ cp->cn_pri = CN_INTERNAL;
+ else
+ cp->cn_pri = CN_DEAD;
+
cp->cn_dev = NODEV;
}
Home |
Main Index |
Thread Index |
Old Index