From owner-cvs-all@FreeBSD.ORG Mon Feb 28 20:40:45 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3063B16A4CE; Mon, 28 Feb 2005 20:40:45 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0422E43D48; Mon, 28 Feb 2005 20:40:45 +0000 (GMT) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1SKeiXk057928; Mon, 28 Feb 2005 20:40:44 GMT (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1SKeia7057927; Mon, 28 Feb 2005 20:40:44 GMT (envelope-from iedowse) Message-Id: <200502282040.j1SKeia7057927@repoman.freebsd.org> From: Ian Dowse Date: Mon, 28 Feb 2005 20:40:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/isa vesa.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 20:40:45 -0000 iedowse 2005-02-28 20:40:44 UTC FreeBSD src repository Modified files: sys/i386/isa vesa.c Log: Add a missing bcopy() to make saving the VESA state actually work. Also save the DAC state, increase the maximum save state size from 4k to 8k, and refuse to save the VESA state if the BIOS reports it is larger than the maximum size we can handle. It doesn't appear that anything currently uses this code, but it turns out to be capable of restoring some notebook displays to a working state after a suspend-resume cycle. Revision Changes Path 1.48 +13 -3 src/sys/i386/isa/vesa.c