1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/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
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
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
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
acpi_powerres.c
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
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
acpica_support.h
acpiio.h
acpivar.h Add some extra #ifdef stubs so that this compiles on 4.8. 2003-05-13 16:59:46 +00:00