History log of /netbsd/sys/arch/macppc/dev/pm_direct.c (Results 1 – 25 of 38)
Revision Date Author Comments
# dbd9af58 09-Feb-2022 andvar <andvar@NetBSD.org>

fix various typos in comments.


# df7f595e 18-Mar-2009 cegger <cegger@NetBSD.org>

Ansify function definitions w/o arguments. Generated with sed.


# 82357f6d 14-Mar-2009 dsl <dsl@NetBSD.org>

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.


# 454af1c0 14-Mar-2009 dsl <dsl@NetBSD.org>

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

show more ...


# 02cdf4d2 14-Mar-2009 dsl <dsl@NetBSD.org>

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.


# 23a7584d 07-Nov-2007 garbled <garbled@NetBSD.org>

Convert macppc to shared ofw_autoconf.c. Compile tested only.


# d974db0a 17-Oct-2007 garbled <garbled@NetBSD.org>

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 v

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.

show more ...


# 142c2a33 24-Jan-2007 hubertf <hubertf@NetBSD.org>

Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effe

Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.

show more ...


# e11bb150 07-Jun-2006 kardel <kardel@NetBSD.org>

avoid shadowing time while it still exists


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# f51dc0f3 07-Jun-2005 jmmv <jmmv@NetBSD.org>

Constify char* arguments to pm_printerr. Fixes the build when ADB_DEBUG
is set.

Note that only the first argument needed to be constified to solve the issue,
but given the usage of the arguments in

Constify char* arguments to pm_printerr. Fixes the build when ADB_DEBUG
is set.

Note that only the first argument needed to be constified to solve the issue,
but given the usage of the arguments in the function, it's worth to constify
all of them.

show more ...


# a2c1d78a 05-Jun-2005 nathanw <nathanw@NetBSD.org>

Rearrange some of the ADB types and void * abuse to make -Wcast-qual
happy in the presence of the "volatile int flag" construct. Fix up a variety
of calls to pass NULL instead of (Ptr)0 to maintain f

Rearrange some of the ADB types and void * abuse to make -Wcast-qual
happy in the presence of the "volatile int flag" construct. Fix up a variety
of calls to pass NULL instead of (Ptr)0 to maintain function-pointer safety.

show more ...


# 0e5d90ca 27-Apr-2005 briggs <briggs@NetBSD.org>

Correctly match battery types. Old function would end up matching a
zero-length string. Noted in PR port-macppc/30034 by Magnus Henoch.
Patched as in the PR.


# fabe8776 01-Feb-2005 briggs <briggs@NetBSD.org>

Strip old "pm1" code. All PPC PMUs are "pm2" style. Two benefits:
* Cleans code up a bit, and
* Reduces the call stack for PMU interrupts.


# 969369e1 01-Feb-2005 briggs <briggs@NetBSD.org>

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.


# da18d7cc 01-Feb-2005 briggs <briggs@NetBSD.org>

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-sma

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.

show more ...


# 2fd84870 01-Feb-2005 briggs <briggs@NetBSD.org>

Calculate and use seconds of power remaining for smart battery types.


# 8dce4f99 07-Jan-2005 briggs <briggs@NetBSD.org>

- If pm_pmgrop_pm2() fails, return after splx() -- there's no sense in
continuing.
- Note that there really needs to be bounds-checking on PMData.


# 4b2744bf 15-Jul-2003 lukem <lukem@NetBSD.org>

__KERNEL_RCSID()


# 524e044e 18-Jun-2002 itojun <itojun@NetBSD.org>

apm emulation, from openbsd


# ddd8d90d 18-Jun-2002 itojun <itojun@NetBSD.org>

KNF (whitespace)


# 32eabd81 02-Jan-2002 dbj <dbj@NetBSD.org>

if pm_adb_op times out waiting for an interrupt, attempt to take
an interrupt anyway, just in case. Otherwise, report the timout condition.
This works around a problem in my ibook if a key is presse

if pm_adb_op times out waiting for an interrupt, attempt to take
an interrupt anyway, just in case. Otherwise, report the timout condition.
This works around a problem in my ibook if a key is pressed after boot
and before adb is configured, such as when booting with -d.

show more ...


# 55fbb5ff 16-Sep-2001 wiz <wiz@NetBSD.org>

Grammar improvements in comments.


# 456dff6c 16-Sep-2001 wiz <wiz@NetBSD.org>

Spell 'occurred' with two 'r's.


# 3070e770 03-Aug-2001 tsubai <tsubai@NetBSD.org>

Remove (#if 0'ed) m68k asm codes.


12