Home | History | Annotate | Download | only in acpi
History log of /src/sys/dev/acpi/acpi_apm.c
RevisionDateAuthorComments
 1.20  24-Oct-2010  jruoho Simplify acpi_enter_sleep_state() and guard it against NULL pointer
dereferences. Try to avoid referencing the global acpi_softc, which should
really be static or at least internal to acpi(4).
 1.19  27-Apr-2010  jruoho Include the new prototype for acpi_enter_sleep_state().
 1.18  12-Apr-2010  skrll Spello in comment.
 1.17  28-Mar-2010  pgoyette Update acpiapm_get_powstat() to adjust for the recent changes to
acpi_bat(4). (The warn_cap and low_cap sensors were removed, and the
values are now stored as the alarm limits of the charge sensor.)
 1.16  24-Mar-2010  pgoyette Only set the APM_BATT_FLAG_NO_SYSTEM_BATTERY if _all_ batteries are
not_present.
 1.15  05-Mar-2010  jruoho branches: 1.15.2;
Remove <dev/acpi/acpica.h> from all files. It is included from
<dev/acpi/acpivar.h>. Ditto for <dev/sysmon/sysmonvar.h>, <sys/bus.h>,
<dev/pci/pcivar.h>, and <dev/isa/isavar.h>.

Also nuke a lot of unused and invalid headers. Some of these are audibly
provided by standard headers (namely <sys/param.h> and <sys/device.h>), some
have nothing to do with ACPI devices (e.g. <sys/syslog.h>), and some are
nonexistent local includes (e.g. "mpu_ym.h"). Moreoever, try to group the
includes into their respective blocks.

Tested with GENERIC and ALL (i386). No functional change.
 1.14  28-Apr-2008  martin branches: 1.14.20;
Remove clause 3 and 4 from TNF licenses
 1.13  07-Mar-2008  cube branches: 1.13.2; 1.13.4;
Split device_t/softc for i386's apm(4), and other related cosmetic changes.
 1.12  09-Dec-2007  jmcneill branches: 1.12.6; 1.12.10;
Merge jmcneill-pm branch.
 1.11  27-Oct-2007  plunky branches: 1.11.4; 1.11.6;
When no estimate of battery minutes_left can be made, apm should
return a value of 0.
 1.10  05-Jul-2007  xtraeme branches: 1.10.6; 1.10.8; 1.10.12;
Adapt to the recent changes to the acpiacad(4) and acpibat(4) drivers.
 1.9  11-Mar-2007  christos branches: 1.9.2;
open and close envsys; from Cherry.
 1.8  16-Nov-2006  christos branches: 1.8.2; 1.8.4; 1.8.6; 1.8.10; 1.8.12;
__unused removal on arguments; approved by core.
 1.7  12-Oct-2006  xtraeme Use __unused in function arguments where appropiate. (hi christos)
 1.6  11-Oct-2006  gdt Aggregate discharge rate over all batteries. Makes time remaining
reasonable when battery 0 is in use and battery 1 is fully discharged.
 1.5  11-Oct-2006  gdt Aggregate current charge level and lastcap over all batteries, rather
than taking values from the last battery checked. Solves problem of
apm showing status of 2nd battery in a 2-battery system.
 1.4  06-Aug-2006  christos branches: 1.4.4; 1.4.6; 1.4.8; 1.4.10;
PR/34117: Takuya SHIOZAKI: enhancement for acpiapm(4)
- make sleep state corresponding to standby/suspend changeable by using sysctl,
- make sure to generate APM events appropriately.
- arrange the code for getting power status.
 1.3  12-Jul-2006  hira branches: 1.3.2;
Fix typo (discarge -> discharge).
 1.2  12-Jul-2006  christos Prevent zerodivide (from Kouichirou Hiratsuka)
 1.1  08-Jul-2006  christos Add acpi apm attachment based on sysmon hooks.
 1.3.2.2  13-Jul-2006  gdamore Merge from HEAD.
 1.3.2.1  12-Jul-2006  gdamore file acpi_apm.c was added on branch gdamore-uart on 2006-07-13 17:49:17 +0000
 1.4.10.2  10-Dec-2006  yamt sync with head.
 1.4.10.1  22-Oct-2006  yamt sync with head
 1.4.8.2  09-Sep-2006  rpaulo sync with head
 1.4.8.1  06-Aug-2006  rpaulo file acpi_apm.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:49:28 +0000
 1.4.6.1  18-Nov-2006  ad Sync with head.
 1.4.4.2  11-Aug-2006  yamt sync with head
 1.4.4.1  06-Aug-2006  yamt file acpi_apm.c was added on branch yamt-pdpolicy on 2006-08-11 15:43:59 +0000
 1.8.12.1  06-Jan-2008  wrstuden Catch up to netbsd-4.0 release.
 1.8.10.2  15-Jul-2007  ad Sync with head.
 1.8.10.1  13-Mar-2007  ad Sync with head.
 1.8.6.1  12-Mar-2007  rmind Sync with HEAD.
 1.8.4.6  17-Mar-2008  yamt sync with head.
 1.8.4.5  21-Jan-2008  yamt sync with head
 1.8.4.4  15-Nov-2007  yamt sync with head.
 1.8.4.3  03-Sep-2007  yamt sync with head.
 1.8.4.2  30-Dec-2006  yamt sync with head.
 1.8.4.1  16-Nov-2006  yamt file acpi_apm.c was added on branch yamt-lazymbuf on 2006-12-30 20:47:54 +0000
 1.8.2.1  29-Oct-2007  pavel Pull up following revisions (requested by plunky in ticket #956):
usr.sbin/apm/apm.c: revision 1.18
sys/dev/acpi/acpi_apm.c: revision 1.11
When no estimate of battery minutes_left can be made, apm should
return a value of 0.
 1.9.2.1  11-Jul-2007  mjf Sync with head.
 1.10.12.1  13-Nov-2007  bouyer Sync with HEAD
 1.10.8.3  23-Mar-2008  matt sync with HEAD
 1.10.8.2  09-Jan-2008  matt sync with HEAD
 1.10.8.1  06-Nov-2007  matt sync with HEAD
 1.10.6.2  28-Oct-2007  joerg Sync with HEAD.
 1.10.6.1  09-Sep-2007  jmcneill Fix battery counting by ignoring the 'charge state' value from acpibat.
 1.11.6.1  11-Dec-2007  yamt sync with head.
 1.11.4.1  26-Dec-2007  ad Sync with head.
 1.12.10.2  02-Jun-2008  mjf Sync with HEAD.
 1.12.10.1  03-Apr-2008  mjf Sync with HEAD.
 1.12.6.1  24-Mar-2008  keiichi sync with head.
 1.13.4.3  11-Aug-2010  yamt sync with head.
 1.13.4.2  11-Mar-2010  yamt sync with head
 1.13.4.1  16-May-2008  yamt sync with head.
 1.13.2.1  18-May-2008  yamt sync with head.
 1.14.20.2  06-Nov-2010  uebayasi Sync with HEAD.
 1.14.20.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.15.2.2  05-Mar-2011  rmind sync with head
 1.15.2.1  30-May-2010  rmind sync with head

RSS XML Feed