From owner-cvs-sys Mon Dec 30 12:42:51 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA17229 for cvs-sys-outgoing; Mon, 30 Dec 1996 12:42:51 -0800 (PST) Received: (from joerg@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA17221; Mon, 30 Dec 1996 12:42:49 -0800 (PST) Date: Mon, 30 Dec 1996 12:42:49 -0800 (PST) From: Joerg Wunsch Message-Id: <199612302042.MAA17221@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa gsc.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/12/30 12:42:49 Modified: sys/i386/isa gsc.c Log: Apparently, someone changed the gsc driver to allocate one big buffer at device attach time, instead of allocating and freeing buffers as necessary. But he or she forgot to remove the line that invalidated the buffer when the device is closed. Therefore, after using the device for the first time, the buffer was incorrectly invalidated and that caused a page fault on the second, and subsequent uses. Closes PR # kern/2319: Using Genius GS-4500 scanner... Submitted by: jmrueda@diatel.upm.es (Javier Martmn Rueda) Revision Changes Path 1.23 +0 -1 src/sys/i386/isa/gsc.c