1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

Revert two changes I was testing regarding polling delay.

This commit is contained in:
Nate Lawson 2005-12-06 14:51:55 +00:00
parent c4a9fa4529
commit 31bef809aa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153172

View File

@ -910,13 +910,13 @@ EcWaitEvent(struct acpi_ec_softc *sc, EC_EVENT Event)
if (!cold)
retval = tsleep(&sc->ec_csrvalue, PZERO, "ecpoll", slp_ival);
else
AcpiOsStall(hz * 1000); // XXX too big
AcpiOsStall(10000);
}
}
/* Calculate new delay and log it. */
if (slp_ival > 0)
period += i * (hz * 1000);
period += i * 10000;
CTR2(KTR_ACPI, "ec got event %#x after %d us", EcStatus, period);
return (Status);