Don't activate the ssc console unless we are running in SKI.

This commit is contained in:
dfr 2001-09-22 19:52:02 +00:00
parent 510b2f8636
commit 46dc7c8aa3

View File

@ -36,6 +36,7 @@
#include <sys/proc.h>
#include <sys/systm.h>
#include <sys/tty.h>
#include <machine/md_var.h>
#include <vm/vm.h>
#include <vm/vm_param.h>
@ -99,8 +100,11 @@ ssc(u_int64_t in0, u_int64_t in1, u_int64_t in2, u_int64_t in3, int which)
static void
ssccnprobe(struct consdev *cp)
{
if (!ia64_running_in_simulator())
return;
cp->cn_dev = makedev(CDEV_MAJOR, 0);
cp->cn_pri = CN_NORMAL;
cp->cn_pri = CN_INTERNAL;
}
static void