svn commit: r208478 - stable/8/sys/dev/fb

Jung-uk Kim jkim at FreeBSD.org
Mon May 24 01:46:06 UTC 2010


Author: jkim
Date: Mon May 24 01:46:06 2010
New Revision: 208478
URL: http://svn.freebsd.org/changeset/base/208478

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

Modified:
  stable/8/sys/dev/fb/vesa.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/dev/fb/vesa.c
==============================================================================
--- stable/8/sys/dev/fb/vesa.c	Mon May 24 01:44:30 2010	(r208477)
+++ stable/8/sys/dev/fb/vesa.c	Mon May 24 01:46:06 2010	(r208478)
@@ -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-stable-8 mailing list