summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/scvidctl.c
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2000-04-27 13:34:32 +0000
committernyan <nyan@FreeBSD.org>2000-04-27 13:34:32 +0000
commit34c45fc8f0c7442b15283c34b1d44b138f5079b7 (patch)
tree76f8ca6964620d45ae26dc81079673d18442d193 /sys/dev/syscons/scvidctl.c
parent4f2f4c3284f431e8b0a018cc4eb22599d2e8c476 (diff)
downloadFreeBSD-src-34c45fc8f0c7442b15283c34b1d44b138f5079b7.zip
FreeBSD-src-34c45fc8f0c7442b15283c34b1d44b138f5079b7.tar.gz
Supported EGC 640x400, PEGC 640x400 and PEGC 640x480 graphics modes.
Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp> and Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
Diffstat (limited to 'sys/dev/syscons/scvidctl.c')
-rw-r--r--sys/dev/syscons/scvidctl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/syscons/scvidctl.c b/sys/dev/syscons/scvidctl.c
index afb087d..8af13a0 100644
--- a/sys/dev/syscons/scvidctl.c
+++ b/sys/dev/syscons/scvidctl.c
@@ -619,6 +619,11 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct proc *p)
case SW_CG640x350: case SW_ENH_CG640:
case SW_BG640x480: case SW_CG640x480: case SW_VGA_CG320:
case SW_VGA_MODEX:
+#ifdef PC98
+ /* PC98 GRAPHICS MODES */
+ case SW_PC98_EGC640x400: case SW_PC98_PEGC640x400:
+ case SW_PC98_PEGC640x480:
+#endif
if (!(adp->va_flags & V_ADP_MODECHANGE))
return ENODEV;
return sc_set_graphics_mode(scp, tp, cmd & 0xff);
OpenPOWER on IntegriCloud