From owner-cvs-all Tue Sep 26 18:40:49 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 370F837B422; Tue, 26 Sep 2000 18:40:48 -0700 (PDT) Received: (from msmith@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA01482; Tue, 26 Sep 2000 18:40:48 -0700 (PDT) (envelope-from msmith@FreeBSD.org) Message-Id: <200009270140.SAA01482@freefall.freebsd.org> From: Mike Smith Date: Tue, 26 Sep 2000 18:40:48 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpi acpi.c acpi.h acpi_powerres.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG msmith 2000/09/26 18:40:47 PDT Modified files: sys/dev/acpi acpi.c acpi.h acpi_powerres.c Log: Shut up some debugging messages that appear to have been left on by default. Fix the identify/probe/attach cycle somewhat. Now in acpi_identify we parse enough of the RSDT/FACP to find the communications port and interrupt so that we can establish these as resources on the acpi device. Pass the softc to acpi_queue_event so that it doesn't dereference NULL when acpi_intr is invoked in the attach routine (because devclass_get_softc isn't going to work yet). Account for our allocated resources properly so that we can free them if required. Revision Changes Path 1.13 +150 -94 src/sys/dev/acpi/acpi.c 1.9 +11 -2 src/sys/dev/acpi/acpi.h 1.6 +2 -1 src/sys/dev/acpi/acpi_powerres.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message