syscons(4): Use 100x37 when the VESA800X600 flag is specified.
[dragonfly.git] / sys / dev / misc / syscons / syscons.c
index 95cbc53..afdbef9 100644 (file)
@@ -350,7 +350,7 @@ sc_attach_unit(int unit, int flags)
            splash_term(sc->adp);
 #endif
        sc_set_graphics_mode(scp, NULL, M_VESA_800x600);
-       sc_set_pixel_mode(scp, NULL, COL, ROW, 16);
+       sc_set_pixel_mode(scp, NULL, 0, 0, 16);
        sc->initial_mode = M_VESA_800x600;
 #if NSPLASH > 0
        /* put up the splash again! */
@@ -1014,7 +1014,7 @@ scioctl(struct dev_ioctl_args *ap)
            return EPERM;
 #if defined(__i386__)
        curthread->td_lwp->lwp_md.md_regs->tf_eflags |= PSL_IOPL;
-#elif defined(__amd64__)
+#elif defined(__x86_64__)
        curthread->td_lwp->lwp_md.md_regs->tf_rflags |= PSL_IOPL;
 #endif
        return 0;
@@ -1022,7 +1022,7 @@ scioctl(struct dev_ioctl_args *ap)
     case KDDISABIO:            /* disallow io operations (default) */
 #if defined(__i386__)
        curthread->td_lwp->lwp_md.md_regs->tf_eflags &= ~PSL_IOPL;
-#elif defined(__amd64__)
+#elif defined(__x86_64__)
        curthread->td_lwp->lwp_md.md_regs->tf_rflags &= ~PSL_IOPL;
 #endif
        return 0;