svn commit: r208279 - head/sys/dev/fb

Jung-uk Kim jkim at FreeBSD.org
Tue May 18 22:30:55 UTC 2010


Author: jkim
Date: Tue May 18 22:30:55 2010
New Revision: 208279
URL: http://svn.freebsd.org/changeset/base/208279

Log:
  Restore the previous VESA mode after BIOS POST, just in case.

Modified:
  head/sys/dev/fb/vesa.c

Modified: head/sys/dev/fb/vesa.c
==============================================================================
--- head/sys/dev/fb/vesa.c	Tue May 18 21:23:51 2010	(r208278)
+++ head/sys/dev/fb/vesa.c	Tue May 18 22:30:55 2010	(r208279)
@@ -1443,6 +1443,7 @@ vesa_load_state(video_adapter_t *adp, vo
 	/* Try BIOS POST to restore a sane state. */
 	(void)vesa_bios_post();
 	(void)int10_set_mode(adp->va_initial_bios_mode);
+	(void)vesa_set_mode(adp, adp->va_mode);
 
 	return (vesa_bios_save_restore(STATE_LOAD, ((adp_state_t *)p)->regs,
 	    vesa_state_buf_size));


More information about the svn-src-head mailing list