From owner-cvs-all Tue Oct 30 6:24:31 2001 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 7E50B37B403; Tue, 30 Oct 2001 06:24:26 -0800 (PST) Received: (from iwasaki@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9UEOQA88354; Tue, 30 Oct 2001 06:24:26 -0800 (PST) (envelope-from iwasaki) Message-Id: <200110301424.f9UEOQA88354@freefall.freebsd.org> From: Mitsuru IWASAKI Date: Tue, 30 Oct 2001 06:24:26 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_battery.c acpi_cmbat.c acpivar.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iwasaki 2001/10/30 06:24:26 PST Modified files: sys/dev/acpica acpi_battery.c acpi_cmbat.c acpivar.h Log: Some improvements of control method battery driver. - Add a new MIB for battery info expire time in order to make it changeable. Battery info expire time can be specified by hw.acpi.battery.info_expire in sec. - Add own MALLOC type and fix some potential memory leakages. - Change some frequent printings to verbose printing. - Stop timeout during acpi_cmbat_get_bst() too. This should reduce the races with BIF evaluation. - Remove acpi_cmbat_get_bif() invocation from acpi_cmbat_attach(). This was redundant because this should be called from acpi_cmbat_timeout() now. Revision Changes Path 1.4 +12 -0 src/sys/dev/acpica/acpi_battery.c 1.9 +43 -23 src/sys/dev/acpica/acpi_cmbat.c 1.21 +1 -0 src/sys/dev/acpica/acpivar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message