Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/macppc/dev/battery.c
RevisionDateAuthorComments
 1.15  26-Jul-2011  macallan finish device_t-ification
 1.14  10-Jul-2011  pgoyette Initialize sensor state. (Missed the commit for this in my last
roto-till.)
 1.13  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.12  18-Jun-2011  matt struct device * -> device_t
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more
 1.11  23-Oct-2008  aymeric branches: 1.11.26;
pass the right sensor types so that the kernel doesn't panic() on my
iBook G3
 1.10  29-Apr-2008  martin branches: 1.10.6;
Convert to new 2 clause license
 1.9  30-Mar-2008  macallan branches: 1.9.2; 1.9.4;
actually update the 'battery present' sensor. Doh.
 1.8  12-Dec-2007  macallan branches: 1.8.6;
fix sensor attachment
 1.7  16-Nov-2007  xtraeme branches: 1.7.2; 1.7.4; 1.7.6;
Extend the envsys2 API (one more time, sorry) as defined in:

http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html

sysmon_envsys_create() and sysmon_envsys_destroy() were added to
create/destroy sysmon_envsys objects (and its TAILQ/LIST for sensors/events).

sysmon_envsys_sensor_attach() and sysmon_envsys_sensor_detach() were
added to attach/detach sensors to a specified sysmon_envsys device.

The events framework is now per device and configurable via the
ENVSYS_SETDICTIONARY ioctl or /etc/envsys.conf and envstat(8).

Update all users and documentation to reflect these changes.
 1.6  17-Oct-2007  garbled branches: 1.6.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.5  16-Jul-2007  xtraeme branches: 1.5.8; 1.5.10; 1.5.12; 1.5.14;
battery_gtredata: there's no need to set ENVSYS_SVALID on each case,
just set it after the switch.
 1.4  05-Jul-2007  xtraeme - Adapt to envsys2.
- Use one Indicator sensor for battery charge and set it to 1 or 0
accordingly.
 1.3  09-May-2007  macallan add an optional callback from pmu's worker thread, use it to poll AC power
status on legacy batteries where we don't get environment interrupts. Also
report AC status changes to powerd.
 1.2  03-Apr-2007  macallan branches: 1.2.4;
adapt to pmu changes
 1.1  15-Feb-2007  macallan branches: 1.1.2; 1.1.4; 1.1.8; 1.1.10;
not quite complete yet driver for batteries found in ohare-based PowerBooks
no APM emulation or sysmon integration yet but some stuff is exposed via
envsys
 1.1.10.1  11-Jul-2007  mjf Sync with head.
 1.1.8.6  03-Dec-2007  ad Sync with HEAD.
 1.1.8.5  23-Oct-2007  ad Sync with head.
 1.1.8.4  20-Aug-2007  ad Sync with HEAD.
 1.1.8.3  15-Jul-2007  ad Sync with head.
 1.1.8.2  27-May-2007  ad Sync with head.
 1.1.8.1  10-Apr-2007  ad Sync with head.
 1.1.4.6  21-Jan-2008  yamt sync with head
 1.1.4.5  07-Dec-2007  yamt sync with head
 1.1.4.4  27-Oct-2007  yamt sync with head.
 1.1.4.3  03-Sep-2007  yamt sync with head.
 1.1.4.2  26-Feb-2007  yamt sync with head.
 1.1.4.1  15-Feb-2007  yamt file battery.c was added on branch yamt-lazymbuf on 2007-02-26 09:07:20 +0000
 1.1.2.2  17-May-2007  yamt sync with head.
 1.1.2.1  15-Apr-2007  yamt sync with head.
 1.2.4.5  03-Oct-2007  garbled Sync with HEAD
 1.2.4.4  02-Aug-2007  macallan sync with HEAD
 1.2.4.3  14-Jun-2007  macallan fix some bus_spacification fallout
 1.2.4.2  22-May-2007  matt Update to HEAD.
 1.2.4.1  09-May-2007  macallan sync with HEAD
 1.5.14.2  18-Nov-2007  bouyer Sync with HEAD
 1.5.14.1  25-Oct-2007  bouyer Sync with HEAD.
 1.5.12.1  18-Oct-2007  yamt sync with head.
 1.5.10.2  09-Jan-2008  matt sync with HEAD
 1.5.10.1  06-Nov-2007  matt sync with HEAD
 1.5.8.2  21-Nov-2007  joerg Sync with HEAD.
 1.5.8.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.6.2.2  27-Dec-2007  mjf Sync with HEAD.
 1.6.2.1  19-Nov-2007  mjf Sync with HEAD.
 1.7.6.1  13-Dec-2007  bouyer Sync with HEAD
 1.7.4.1  13-Dec-2007  yamt sync with head.
 1.7.2.1  26-Dec-2007  ad Sync with head.
 1.8.6.3  17-Jan-2009  mjf Sync with HEAD.
 1.8.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.8.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.9.4.2  04-May-2009  yamt sync with head.
 1.9.4.1  16-May-2008  yamt sync with head.
 1.9.2.1  18-May-2008  yamt sync with head.
 1.10.6.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.11.26.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.

RSS XML Feed