diff options
author | dfr <dfr@FreeBSD.org> | 2001-09-22 19:52:02 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2001-09-22 19:52:02 +0000 |
commit | 46dc7c8aa3ea258a603bf90a6b49b0c987164307 (patch) | |
tree | 8b89cce6047b4bdb4d116228753080eb7e71fdaa /sys | |
parent | 510b2f8636468bc79d88d651b3123a1d69913ba5 (diff) | |
download | FreeBSD-src-46dc7c8aa3ea258a603bf90a6b49b0c987164307.zip FreeBSD-src-46dc7c8aa3ea258a603bf90a6b49b0c987164307.tar.gz |
Don't activate the ssc console unless we are running in SKI.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/ia64/ssc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/ia64/ia64/ssc.c b/sys/ia64/ia64/ssc.c index 47c6278..7de26fb 100644 --- a/sys/ia64/ia64/ssc.c +++ b/sys/ia64/ia64/ssc.c @@ -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 |