freebsd-dev/sys/dev/acpica
Nate Lawson 1f04e8f501 Rewrite much of the embedded controller driver.
* Always use polled mode.  The intr approach did not work for many
  controllers and required the hw.acpi.ec.event_driven workaround.
* Only use an edge (not level) triggered GPE handler
* Add sc->ec_mtx for locking operations to a single EC.  There were
  many race conditions earlier between an SCI event and EcRead/Write.
* Use 1 ms as the global lock timeout
* Only acquire global lock if _GLK != 0
* Update EcWaitEvent to use an incremental backoff delay in its
  poll loop.  Wait 50 ms max instead of 10.  Most ECs respond
  in < 5 us (50 us when heavily loaded).  However, some time out
  occasionally even with a 10 ms timeout.  For delays past 1 ms, use
  msleep instead of DELAY to give SCI interrupts a chance to occur.
* Add EcCommand to send a command and wait for the appropriate event.
* The hw.acpi.ec.event_driven tunable is no longer applicable and
  has been removed.

Ideas from:	Linux
2003-07-10 17:22:46 +00:00
..
Osd Add the MD ifdefs for amd64 to point to the IO space bustag/handle. 2003-05-31 06:45:28 +00:00
acpi_acad.c Allow non-privilaged user to retrive battery or AC line information. 2003-02-15 01:46:22 +00:00
acpi_battery.c Allow non-privilaged user to retrive battery or AC line information. 2003-02-15 01:46:22 +00:00
acpi_button.c Add device(power/sleep button and lid) wake function from sleeping state. 2002-07-22 12:52:54 +00:00
acpi_cmbat.c Allow non-privilaged user to retrive battery or AC line information. 2003-02-15 01:46:22 +00:00
acpi_cpu.c More useful announce message containing current speed of CPU 2003-01-23 22:18:14 +00:00
acpi_ec.c Rewrite much of the embedded controller driver. 2003-07-10 17:22:46 +00:00
acpi_isab.c - Fix a typo in the call to acpi_disabled() in probe() by removing an 2003-07-09 18:28:53 +00:00
acpi_lid.c Catch up to changes in acpivar.h to add support for using ACPI on 2002-10-16 17:28:53 +00:00
acpi_pci_link.c Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
acpi_pci.c Add a new PCI interface method, assign_interrupt, to determine the 2003-07-01 14:08:33 +00:00
acpi_pcib_acpi.c - Assume a bus number of zero if evaluating _BBN fails, not if it succeeds. 2002-11-25 21:55:04 +00:00
acpi_pcib_pci.c Make sure that ACPI PCI driver probe routine call pci_cfgregopen() 2002-10-05 02:16:49 +00:00
acpi_pcib.c Add a missing newline to the end of a device_printf(). 2002-10-29 19:08:55 +00:00
acpi_pcibvar.h Add code for ACPI PCI link object manipulation. 2002-10-05 02:01:05 +00:00
acpi_powerres.c Catch up to changes in acpivar.h to add support for using ACPI on 2002-10-16 17:28:53 +00:00
acpi_resource.c Fix a De Morgan bug: If we only expect a memory range OR an 2002-12-23 03:48:59 +00:00
acpi_thermal.c Catch up to changes in acpivar.h to add support for using ACPI on 2002-10-16 17:28:53 +00:00
acpi_timer.c o Don't announce that the timer is good when in fact it isn't timing 2003-04-30 05:27:01 +00:00
acpi.c - Use the new resource_disabled() helper function to see if devices are 2003-07-02 16:09:02 +00:00
acpica_support.c Resolve conflicts arising from the ACPI CA 20020611 import. 2002-07-09 17:54:02 +00:00
acpica_support.h Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support. 2001-11-06 15:00:30 +00:00
acpiio.h Fix wrong member variable ordering of struct acpi_bif. 2002-08-09 07:08:53 +00:00
acpivar.h Add some extra #ifdef stubs so that this compiles on 4.8. 2003-05-13 16:59:46 +00:00