diff options
author | jhb <jhb@FreeBSD.org> | 2000-10-28 22:35:57 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-10-28 22:35:57 +0000 |
commit | ed0faa8facaff85e4b2e1967aee953fddb03fb0d (patch) | |
tree | 2ee567baed9ecd9eb9e383602983e49ad69b33d4 /sys/i386/isa/vesa.c | |
parent | 58e629e1a530053a5b9ffe391dc25dfe3c32690d (diff) | |
download | FreeBSD-src-ed0faa8facaff85e4b2e1967aee953fddb03fb0d.zip FreeBSD-src-ed0faa8facaff85e4b2e1967aee953fddb03fb0d.tar.gz |
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.
Diffstat (limited to 'sys/i386/isa/vesa.c')
-rw-r--r-- | sys/i386/isa/vesa.c | 3 |
1 files changed, 1 insertions, 2 deletions
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", |