freebsd-dev/sys/dev/acpica
Nate Lawson b0eefa38f9 Rework the code that waits for a response from the EC. Use an sx lock
instead of a mutex so we do not unblock it in msleep().  If we do this,
another event could occur, resetting the status register since reads
reset it.  While I'm here, remove the backoff approach.  Instead, sleep
in 10 ms chunks for up to the configured timeout using either DELAY (if
we aren't booted yet) or tsleep.

Help from:	dillon
Tested by:	Andrew Thompson andy AT fud.org.nz
2004-07-01 00:51:31 +00:00
..
Osd Remove compat code and unused lock declarations. 2004-06-18 17:58:11 +00:00
acpi_acad.c Use the acpi_id_probe() method instead of acpi_MatchHid(), which is now 2004-06-29 19:02:27 +00:00
acpi_battery.c Style cleanups to match the rest of this directory. For acpi_battery.c, 2003-08-11 15:34:43 +00:00
acpi_button.c Move flags into a private ivar so it can't collide with device flags. 2004-06-30 16:08:03 +00:00
acpi_cmbat.c Use the acpi_id_probe() method instead of acpi_MatchHid(), which is now 2004-06-29 19:02:27 +00:00
acpi_cpu.c Use uintmax_t for CPU statistics and add a cast to prevent truncation of 2004-06-24 00:38:51 +00:00
acpi_ec.c Rework the code that waits for a response from the EC. Use an sx lock 2004-07-01 00:51:31 +00:00
acpi_if.m Add acpi methods for HID/CID probing, evaluating objects, and walking the 2004-06-29 18:56:14 +00:00
acpi_isab.c Use the acpi_id_probe() method instead of acpi_MatchHid(), which is now 2004-06-29 19:02:27 +00:00
acpi_lid.c Move flags into a private ivar so it can't collide with device flags. 2004-06-30 16:08:03 +00:00
acpi_package.c Add support for packages as the first element of _PRW. This may allow 2004-04-09 06:40:03 +00:00
acpi_pci_link.c Revert the removal of the initial_irq hack for now as this code is more 2004-06-14 18:54:14 +00:00
acpi_pci.c Move flags into a private ivar so it can't collide with device flags. 2004-06-30 16:08:03 +00:00
acpi_pcib_acpi.c Move flags into a private ivar so it can't collide with device flags. 2004-06-30 16:08:03 +00:00
acpi_pcib_pci.c Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
acpi_pcib.c - Defer BUS_CONFIG_INTR() on ACPI IRQ resources until the resources are 2004-06-23 17:21:02 +00:00
acpi_pcibvar.h Add code for ACPI PCI link object manipulation. 2002-10-05 02:01:05 +00:00
acpi_powerres.c Add missing function debug trace macros to the new powerres functions. 2004-06-30 20:31:13 +00:00
acpi_quirk.c Add the table quirk matching code. It matches rules defined in acpi_quirks 2004-06-30 04:45:32 +00:00
acpi_quirks Use a default of the FADT for matching CreatorId quirks. Use XSDT to mean 2004-06-29 14:32:06 +00:00
acpi_resource.c Use the acpi_id_probe() method instead of acpi_MatchHid(), which is now 2004-06-29 19:02:27 +00:00
acpi_thermal.c Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
acpi_timer.c Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
acpi_video.c Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
acpi.c Hide struct resource and struct rman. You must define 2004-06-30 16:54:10 +00:00
acpiio.h Fix typos and add spaces before `(' in some comments 2004-06-22 08:23:26 +00:00
acpivar.h Move flags into a private ivar so it can't collide with device flags. 2004-06-30 16:08:03 +00:00