From owner-cvs-all@FreeBSD.ORG Fri Aug 13 06:21:57 2004 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 1B82E16A799; Fri, 13 Aug 2004 06:21:56 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA1CA43D46; Fri, 13 Aug 2004 06:21:55 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7D6Ltf3071025; Fri, 13 Aug 2004 06:21:55 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7D6Ltfg071024; Fri, 13 Aug 2004 06:21:55 GMT (envelope-from njl) Message-Id: <200408130621.i7D6Ltfg071024@repoman.freebsd.org> From: Nate Lawson Date: Fri, 13 Aug 2004 06:21:55 +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/dev/acpica acpi_lid.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: Fri, 13 Aug 2004 06:21:57 -0000 njl 2004-08-13 06:21:55 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_lid.c Log: MPSAFE locking * Serialize notifying the user in acpi_lid_notify_status_changed(). This way multiple lid events occur in order. * Add an initialization pass to get the lid status at boot-time. This pass does not notify any apps but gets the initial status. Revision Changes Path 1.26 +33 -15 src/sys/dev/acpica/acpi_lid.c