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

看板DFBSD_commit作者時間14年前 (2011/07/12 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 0067cacb9b9fddf192474dfaa79b5420abcdde9a Author: Sascha Wildner <saw@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@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
文章代碼(AID): #1E6pfiDR (DFBSD_commit)