mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Trivial addition of __amd64__ to the ifdefs for platforms that use
i386-style vga console support. Approved by: re
This commit is contained in:
parent
efdfe5688b
commit
7edc7b0d3b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114857
1 changed files with 9 additions and 9 deletions
|
@ -145,7 +145,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__ || __ia64__
|
||||
#if __i386__ || __ia64__ || __amd64__
|
||||
static void scterm(int unit, int flags);
|
||||
#endif
|
||||
static void scshutdown(void *arg, int howto);
|
||||
|
@ -1361,7 +1361,7 @@ scstart(struct tty *tp)
|
|||
static void
|
||||
sccnprobe(struct consdev *cp)
|
||||
{
|
||||
#if __i386__ || __ia64__
|
||||
#if __i386__ || __ia64__ || __amd64__
|
||||
int unit;
|
||||
int flags;
|
||||
|
||||
|
@ -1379,7 +1379,7 @@ sccnprobe(struct consdev *cp)
|
|||
|
||||
/* initialize required fields */
|
||||
cp->cn_dev = makedev(CDEV_MAJOR, SC_CONSOLECTL);
|
||||
#endif /* __i386__ || __ia64__ */
|
||||
#endif /* __i386__ || __ia64__ || __amd64__ */
|
||||
|
||||
#if __alpha__
|
||||
/*
|
||||
|
@ -1394,7 +1394,7 @@ sccnprobe(struct consdev *cp)
|
|||
static void
|
||||
sccninit(struct consdev *cp)
|
||||
{
|
||||
#if __i386__ || __ia64__
|
||||
#if __i386__ || __ia64__ || __amd64__
|
||||
int unit;
|
||||
int flags;
|
||||
|
||||
|
@ -1402,7 +1402,7 @@ sccninit(struct consdev *cp)
|
|||
scinit(unit, flags | SC_KERNEL_CONSOLE);
|
||||
sc_console_unit = unit;
|
||||
sc_console = SC_STAT(sc_get_softc(unit, SC_KERNEL_CONSOLE)->dev[0]);
|
||||
#endif /* __i386__ */
|
||||
#endif /* __i386__ || __ia64__ || __amd64__ */
|
||||
|
||||
#if __alpha__
|
||||
/* SHOULDN'T REACH HERE */
|
||||
|
@ -1417,7 +1417,7 @@ sccnterm(struct consdev *cp)
|
|||
if (sc_console_unit < 0)
|
||||
return; /* shouldn't happen */
|
||||
|
||||
#if __i386__ || __ia64__
|
||||
#if __i386__ || __ia64__ || __amd64__
|
||||
#if 0 /* XXX */
|
||||
sc_clear_screen(sc_console);
|
||||
sccnupdate(sc_console);
|
||||
|
@ -1425,7 +1425,7 @@ sccnterm(struct consdev *cp)
|
|||
scterm(sc_console_unit, SC_KERNEL_CONSOLE);
|
||||
sc_console_unit = -1;
|
||||
sc_console = NULL;
|
||||
#endif /* __i386__ */
|
||||
#endif /* __i386__ || __ia64__ || __amd64__ */
|
||||
|
||||
#if __alpha__
|
||||
/* do nothing XXX */
|
||||
|
@ -2806,7 +2806,7 @@ scinit(int unit, int flags)
|
|||
sc->flags |= SC_INIT_DONE;
|
||||
}
|
||||
|
||||
#if __i386__ || __ia64__
|
||||
#if __i386__ || __ia64__ || __amd64__
|
||||
static void
|
||||
scterm(int unit, int flags)
|
||||
{
|
||||
|
@ -2862,7 +2862,7 @@ scterm(int unit, int flags)
|
|||
sc->keyboard = -1;
|
||||
sc->adapter = -1;
|
||||
}
|
||||
#endif
|
||||
#endif /* __i386__ || __ia64__ || __amd64__ */
|
||||
|
||||
static void
|
||||
scshutdown(void *arg, int howto)
|
||||
|
|
Loading…
Reference in a new issue