git: DragonFly_RELEASE_2_10 vga(4): Remove a bogus check.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Jul 11 10:55:07 PDT 2011


commit 0067cacb9b9fddf192474dfaa79b5420abcdde9a
Author: Sascha Wildner <saw at online.de>
Date:   Mon Jul 11 19:44:46 2011 +0200

    vga(4): Remove a bogus check.
    
    These are the remains of a larger chunk of code that I removed in
    4e193d20. It was used to determine whether a MGA, CGA, EGA or VGA
    was present in the box. I left the check in at the time because I
    thought, why not?
    
    However, ASpeed's VGA BIOS (at least as found on some Tyan S8230*
    series motherboards) seems to have some flaws and ends up returning
    0xf instead of 0x9. This caused vga(4) initialization to fail early
    in the boot and no kernel messages would go to the screen.
    
    Since the only thing that interests us is whether a VGA is present
    or not, remove this check. There are other tests later on that will
    detect what we want (such as checking the CRTC's address).
    
    Reported-by: Francois Tigeot <ftigeot at wolfpond.org>

Summary of changes:
 sys/dev/video/fb/vga.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0067cacb9b9fddf192474dfaa79b5420abcdde9a


-- 
DragonFly BSD source repository





More information about the Commits mailing list