summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/syscons.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2001-10-06 13:34:30 +0000
committerdfr <dfr@FreeBSD.org>2001-10-06 13:34:30 +0000
commit5a104aeceb7424cba38fd73faeeebb017c08381c (patch)
treef984d9ea261fcd7d89613424bb2ce05db276fb3d /sys/dev/syscons/syscons.c
parentf3ad16a44172dff713eaf6add2f34ef73b1d261d (diff)
downloadFreeBSD-src-5a104aeceb7424cba38fd73faeeebb017c08381c.zip
FreeBSD-src-5a104aeceb7424cba38fd73faeeebb017c08381c.tar.gz
Enable console. There are far too many 'ifdef __i386__' in this file.
Diffstat (limited to 'sys/dev/syscons/syscons.c')
-rw-r--r--sys/dev/syscons/syscons.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index be9cc27..c6dd8a2 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -55,9 +55,9 @@
#include <sys/tty.h>
#include <machine/clock.h>
-#include <machine/psl.h>
#include <machine/pc/display.h>
#ifdef __i386__
+#include <machine/psl.h>
#include <machine/apm_bios.h>
#include <machine/frame.h>
#endif
@@ -139,7 +139,7 @@ static kbd_callback_func_t sckbdevent;
static int scparam(struct tty *tp, struct termios *t);
static void scstart(struct tty *tp);
static void scinit(int unit, int flags);
-#if __i386__
+#if __i386__ || __ia64__
static void scterm(int unit, int flags);
#endif
static void scshutdown(void *arg, int howto);
@@ -1309,7 +1309,7 @@ scstart(struct tty *tp)
static void
sccnprobe(struct consdev *cp)
{
-#if __i386__
+#if __i386__ || __ia64__
int unit;
int flags;
@@ -1327,7 +1327,7 @@ sccnprobe(struct consdev *cp)
/* initialize required fields */
cp->cn_dev = makedev(CDEV_MAJOR, SC_CONSOLECTL);
-#endif /* __i386__ */
+#endif /* __i386__ || __ia64__ */
#if __alpha__
/*
@@ -1342,7 +1342,7 @@ sccnprobe(struct consdev *cp)
static void
sccninit(struct consdev *cp)
{
-#if __i386__
+#if __i386__ || __ia64__
int unit;
int flags;
@@ -1365,7 +1365,7 @@ sccnterm(struct consdev *cp)
if (sc_console_unit < 0)
return; /* shouldn't happen */
-#if __i386__
+#if __i386__ || __ia64__
#if 0 /* XXX */
sc_clear_screen(sc_console);
sccnupdate(sc_console);
@@ -2743,7 +2743,7 @@ scinit(int unit, int flags)
sc->flags |= SC_INIT_DONE;
}
-#if __i386__
+#if __i386__ || __ia64__
static void
scterm(int unit, int flags)
{
OpenPOWER on IntegriCloud