freebsd-dev/sys/dev/acpica
Bruno Ducrot ab033fa0e3 * fix bst.status. We mark some bits, but forgot to reset all of them
before.  The symptom is that the battery inform us its charge and discharge
  at the same time...

* fix bst.rate to correctly output the (dis)charging rate.  We'll use
  the current average over one minute command and not the at_rate command.
  Note that this method is not correct if the capacity_mode is set, but
  since we don't set it ourself, it is not a problem.

  The at_rate do not give the actual rate but is used to compute the
  estimated time for (dis)charging a battery.  We should actually
  write an estimation of the actual rate using at_rate cmd and then
  perform a read to the various estimators.

Approved by:	njl
MFC after:	2 days
2006-01-12 21:56:37 +00:00
..
Osd Make tv_sec a time_t on all platforms but alpha. Brings us more in line with 2005-12-24 22:22:17 +00:00
acpi_acad.c Invert the check logic. No functional change, but I prefer this version. 2005-10-24 18:30:57 +00:00
acpi_battery.c Simplify checks for valid battery info via DeMorgan's Rule. No 2005-11-23 00:53:01 +00:00
acpi_button.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_cmbat.c Add a locking stub to call acpi_cmbat_get_bif() now that it is directly 2005-11-26 07:36:53 +00:00
acpi_cpu.c If we're trying to use C2/3 and reads from the register are returning 2005-10-25 21:15:47 +00:00
acpi_ec.c Revert two changes I was testing regarding polling delay. 2005-12-06 14:51:55 +00:00
acpi_hpet.c Move HPET debugging under ACPI_TIMER in order to save a bitfield. 2005-11-01 20:41:43 +00:00
acpi_if.m Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_isab.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_lid.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_package.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_pci_link.c Be a little more forgiving of lame BIOS writers. If a link device that 2006-01-06 16:14:32 +00:00
acpi_pci.c Add a new method PCI_FIND_EXTCAP() to the pci bus interface that is used 2005-12-20 19:57:47 +00:00
acpi_pcib_acpi.c - Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all the 2006-01-06 19:22:19 +00:00
acpi_pcib_pci.c - Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all the 2006-01-06 19:22:19 +00:00
acpi_pcib.c Force any hardwire-routed interrupts to level trigger and active low 2005-12-03 21:17:17 +00:00
acpi_pcibvar.h Protect against multiple includes and use _KERNEL to protect the PCI fns. 2005-02-28 05:39:34 +00:00
acpi_perf.c Don't flood kernel logs with "invalid _PSS package" messages. 2005-12-12 11:15:20 +00:00
acpi_powerres.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_quirk.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_quirks Add a quirk for a motherboard whose acpi timer runs too fast. 2005-06-26 18:19:14 +00:00
acpi_resource.c *sigh* Revert stuff that wasn't supposed to be committed. The 2005-11-07 21:52:06 +00:00
acpi_smbat.c * fix bst.status. We mark some bits, but forgot to reset all of them 2006-01-12 21:56:37 +00:00
acpi_smbus.h Import ACPI smart battery support. Newer systems (Acer, mostly) do not 2005-10-23 00:20:13 +00:00
acpi_thermal.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_throttle.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_timer.c Canonize the include of acpi.h. 2005-09-11 18:39:03 +00:00
acpi_video.c Attach to the vgapci device rather than pci. 2005-12-20 22:42:16 +00:00
acpi.c *sigh* Revert stuff that wasn't supposed to be committed. The 2005-11-07 21:52:06 +00:00
acpiio.h Cleanups and support code for importing smart battery support. 2005-10-23 00:16:41 +00:00
acpivar.h Add KTR support and move some performance debugging variables in the EC 2005-12-06 14:47:28 +00:00