summaryrefslogtreecommitdiff
path: root/sys/dev/syscons/scvidctl.c
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2000-04-27 13:34:32 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2000-04-27 13:34:32 +0000
commitd3331668b3866c5bdb7f50ac4365a9b9ab9c7b6c (patch)
treeb85b92562f889d8ab8de4c5a89889024c72a1342 /sys/dev/syscons/scvidctl.c
parentcd6f7fcd8d800a534ea79e149dd1165e1aa576d9 (diff)
Notes
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 afb087d92c7e..8af13a0b0719 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);