OpenGrok
Cross Reference: pm_direct.h
xref
: /
src
/
sys
/
arch
/
macppc
/
dev
/
pm_direct.h
Home
|
History
|
Annotate
|
Download
|
only in
dev
History log of
/src/sys/arch/macppc/dev/pm_direct.h
Revision
Date
Author
Comments
1.12
14-Mar-2009
dsl
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
1.11
11-Dec-2005
christos
branches: 1.11.78; 1.11.86; 1.11.92;
merge ktrace-lwp.
1.10
01-Feb-2005
briggs
Remove one level of interrupt redirection by switching on the ADB
hardware type and registering a Cuda or PMU interrupt handler
specifically instead of an intermediate interrupt handler.
1.9
01-Feb-2005
briggs
Add a PMU initialization call at ADB init time. This probes the machine
type for PMU / battery information, then uses that when getting battery
information for APM. Allows older PowerBooks (pre-smart batteries) to
function with apm enabled in the kernel. Thanks to Linux code for battery
information for these old batteries. Something is still odd, though,
because a charging battery can show > 100% when it's near to full charge.
Enable more interrupts from PMU and handle PB3400 card eject buttons
properly, too.
Also use #defines for commands instead of raw hex codes.
1.8
01-Feb-2005
briggs
Add some command definitions gleaned from Linux.
Add a field to pmu_battery_info to contain est. seconds of power remaining.
1.7
07-Jan-2005
briggs
branches: 1.7.2; 1.7.4;
Increase buffer from 32 bytes to 128 bytes in PMData. I have observed a
response from the device that had 120 bytes of data. The lack of any
bounds-checking in pm_direct.c allowed that data to smash the stack in
the interrupt handler.
1.6
18-Jun-2002
itojun
branches: 1.6.6;
apm emulation, from openbsd
1.5
12-Jul-1999
tsubai
branches: 1.5.16; 1.5.20; 1.5.28;
Add read/set LCD brightness and eject PCMCIA card function.
1.4
11-Jul-1999
tsubai
Enable soft poweroff on PowerBook.
1.3
22-Jun-1999
tsubai
NVRAM read/write functions.
1.2
16-Jun-1999
tsubai
Define symbolic name of PMU commands.
1.1
20-Oct-1998
tsubai
branches: 1.1.8;
Oops, forgot to add them.
1.1.8.3
02-Aug-1999
thorpej
Update from trunk.
1.1.8.2
01-Jul-1999
thorpej
Sync w/ -current.
1.1.8.1
21-Jun-1999
thorpej
Sync w/ -current.
1.5.28.1
16-Jul-2002
gehenna
catch up with -current.
1.5.20.1
20-Jun-2002
nathanw
Catch up to -current.
1.5.16.1
06-Sep-2002
jdolecek
sync kqueue branch with HEAD
1.6.6.2
04-Feb-2005
skrll
Sync with HEAD.
1.6.6.1
17-Jan-2005
skrll
Sync with HEAD.
1.7.4.1
12-Feb-2005
yamt
sync with head.
1.7.2.1
29-Apr-2005
kent
sync with -current
1.11.92.1
13-May-2009
jym
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
1.11.86.1
28-Apr-2009
skrll
Sync with HEAD.
1.11.78.1
04-May-2009
yamt
sync with head.
Indexes created Wed Oct 22 13:09:56 GMT 2025