diff options
author | rwatson <rwatson@FreeBSD.org> | 2012-08-25 08:09:37 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2012-08-25 08:09:37 +0000 |
commit | 70178fb8c571520f506bee1dd7608953edf6d691 (patch) | |
tree | 724e374d353b570b857fcf7c5f764dd73af66ef2 /sys/dev/syscons | |
parent | c0dc7388a9278146d7a5a958178a26c24cf1c4f1 (diff) | |
download | FreeBSD-src-70178fb8c571520f506bee1dd7608953edf6d691.zip FreeBSD-src-70178fb8c571520f506bee1dd7608953edf6d691.tar.gz |
Provide basic glue to allow syscons to be used on MIPS, modelled
on PowerPC support. This was clearly not something syscons was
designed to do (very specific assumptions about the nature of VGA
consoles on PCs), but fortunately others have long since blazed
the way on making it work regardless of that.
Sponsored by: DARPA, AFRL
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r-- | sys/dev/syscons/schistory.c | 2 | ||||
-rw-r--r-- | sys/dev/syscons/scterm-teken.c | 2 | ||||
-rw-r--r-- | sys/dev/syscons/syscons.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/syscons/schistory.c b/sys/dev/syscons/schistory.c index 8eefb00..cb8cfe9 100644 --- a/sys/dev/syscons/schistory.c +++ b/sys/dev/syscons/schistory.c @@ -42,7 +42,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <sys/malloc.h> -#if defined(__sparc64__) || defined(__powerpc__) +#if defined(__sparc64__) || defined(__powerpc__) || defined(__mips__) #include <machine/sc_machdep.h> #else #include <machine/pc/display.h> diff --git a/sys/dev/syscons/scterm-teken.c b/sys/dev/syscons/scterm-teken.c index 6762388..e3395cb 100644 --- a/sys/dev/syscons/scterm-teken.c +++ b/sys/dev/syscons/scterm-teken.c @@ -40,7 +40,7 @@ __FBSDID("$FreeBSD$"); #include <sys/consio.h> #include <sys/kbio.h> -#if defined(__sparc64__) || defined(__powerpc__) +#if defined(__sparc64__) || defined(__powerpc__) || defined(__mips__) #include <machine/sc_machdep.h> #else #include <machine/pc/display.h> diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 01b1150..bacbb73 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -62,7 +62,7 @@ __FBSDID("$FreeBSD$"); #include <sys/power.h> #include <machine/clock.h> -#if defined(__sparc64__) || defined(__powerpc__) +#if defined(__sparc64__) || defined(__powerpc__) || defined(__mips__) #include <machine/sc_machdep.h> #else #include <machine/pc/display.h> |