Project

General

Profile

Bug #1133 » acpi.patch

qhwt+dfly, 09/14/2008 03:13 AM

View differences:

sys/dev/acpica5/acpi_acad.c
acpi_acad_get_status(dev);
if (status != sc->status)
break;
AcpiOsSleep(10);
AcpiOsSleep(10000);
}
sc->initializing = 0;
sys/dev/acpica5/acpi_cmbat.c
ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev),
"battery initialization start\n");
for (retry = 0; retry < ACPI_CMBAT_RETRY_MAX; retry++, AcpiOsSleep(10)) {
for (retry = 0; retry < ACPI_CMBAT_RETRY_MAX; retry++, AcpiOsSleep(10000)) {
sc->present = acpi_BatteryIsPresent(dev);
if (!sc->present)
continue;
(1-1/2)