From owner-cvs-all@FreeBSD.ORG Sun Jul 20 14:11:33 2003 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 1877537B401; Sun, 20 Jul 2003 14:11:33 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B6CB43FBF; Sun, 20 Jul 2003 14:11:32 -0700 (PDT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6KLBW0U059571; Sun, 20 Jul 2003 14:11:32 -0700 (PDT) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6KLBWpp059570; Sun, 20 Jul 2003 14:11:32 -0700 (PDT) Message-Id: <200307202111.h6KLBWpp059570@repoman.freebsd.org> From: Nate Lawson Date: Sun, 20 Jul 2003 14:11:32 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi_ec.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: Sun, 20 Jul 2003 21:11:33 -0000 njl 2003/07/20 14:11:32 PDT FreeBSD src repository Modified files: sys/dev/acpica acpi_ec.c Log: Close a race condition by passing status retrieved via a non-SCI call to EcGpeQueryHandler on to any waiting threads through the softc. Similar behavior was in the original version. Also: * Merge EcQuery into EcGpeQueryHandler to simplify locking * Hold EcLock from the initial read of the CSR down to the wakeup or until after the query command has been processed. * ec_gpebit only needs to be a UINT8 Revision Changes Path 1.35 +32 -43 src/sys/dev/acpica/acpi_ec.c