acpi.patch

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

Download (936 Bytes)

View differences:

sys/dev/acpica5/acpi_acad.c
246 246
	acpi_acad_get_status(dev);
247 247
	if (status != sc->status)
248 248
	    break;
249
	AcpiOsSleep(10);
249
	AcpiOsSleep(10000);
250 250
    }
251 251

  
252 252
    sc->initializing = 0;
sys/dev/acpica5/acpi_cmbat.c
581 581
    ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev),
582 582
		"battery initialization start\n");
583 583

  
584
    for (retry = 0; retry < ACPI_CMBAT_RETRY_MAX; retry++, AcpiOsSleep(10)) {
584
    for (retry = 0; retry < ACPI_CMBAT_RETRY_MAX; retry++, AcpiOsSleep(10000)) {
585 585
	sc->present = acpi_BatteryIsPresent(dev);
586 586
	if (!sc->present)
587 587
	    continue;