Date: Thu, 15 Jul 2010 23:11:51 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r210149 - head/sys/isa Message-ID: <201007152311.o6FNBplY029803@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Thu Jul 15 23:11:51 2010 New Revision: 210149 URL: http://svn.freebsd.org/changeset/base/210149 Log: When we are not switching VTs, just mark all buffer to be updated. Modified: head/sys/isa/syscons_isa.c Modified: head/sys/isa/syscons_isa.c ============================================================================== --- head/sys/isa/syscons_isa.c Thu Jul 15 23:07:02 2010 (r210148) +++ head/sys/isa/syscons_isa.c Thu Jul 15 23:11:51 2010 (r210149) @@ -141,10 +141,16 @@ scresume(device_t dev) sc = &main_softc; + if (sc->cur_scp == NULL) + return (0); + sc->suspend_in_progress--; - if (sc->suspend_in_progress == 0) + if (sc->suspend_in_progress == 0) { if (!sc_no_suspend_vtswitch && sc_cur_scr != 0) sc_switch_scr(sc, sc_cur_scr); + else + mark_all(sc->cur_scp); + } return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007152311.o6FNBplY029803>