From ed0faa8facaff85e4b2e1967aee953fddb03fb0d Mon Sep 17 00:00:00 2001 From: jhb Date: Sat, 28 Oct 2000 22:35:57 +0000 Subject: Don't ignore VESA modes that have the NON-VGA bit set. All of the SVGA graphical modes on some systems have this bit set causing our VESA code to ignore them. --- sys/i386/isa/vesa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/i386/isa/vesa.c b/sys/i386/isa/vesa.c index c324ba8..0fa16b5 100644 --- a/sys/i386/isa/vesa.c +++ b/sys/i386/isa/vesa.c @@ -678,8 +678,7 @@ vesa_bios_init(void) != (V_MODESUPP | V_MODEOPTINFO)) continue; #else - if ((vmode.v_modeattr & (V_MODEOPTINFO | V_MODENONVGA)) - != (V_MODEOPTINFO)) { + if ((vmode.v_modeattr & V_MODEOPTINFO) == 0) { #if VESA_DEBUG > 1 printf( "Rejecting VESA %s mode: %d x %d x %d bpp attr = %x\n", -- cgit v1.1