summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/schistory.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2012-08-25 08:09:37 +0000
committerrwatson <rwatson@FreeBSD.org>2012-08-25 08:09:37 +0000
commit70178fb8c571520f506bee1dd7608953edf6d691 (patch)
tree724e374d353b570b857fcf7c5f764dd73af66ef2 /sys/dev/syscons/schistory.c
parentc0dc7388a9278146d7a5a958178a26c24cf1c4f1 (diff)
downloadFreeBSD-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/schistory.c')
-rw-r--r--sys/dev/syscons/schistory.c2
1 files changed, 1 insertions, 1 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>
OpenPOWER on IntegriCloud