diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2001-10-03 14:45:38 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2001-10-03 14:45:38 +0000 |
commit | 5919548fd8581cb4f12acc4d89ab2ad1dc8989f5 (patch) | |
tree | 9d8a92c49d79311c2b2e3dc09c10ec18d9492336 /sys/arch/macppc/conf | |
parent | d06ec46e13639684c063927640650c3c355dfd3e (diff) |
apm support for macppc. This is not fully implemented, sleep modes
and power event are not handled, however it is enough support
to poll the battery/AC/charging states of the system.
Code by Alexander Guy.
Diffstat (limited to 'sys/arch/macppc/conf')
-rw-r--r-- | sys/arch/macppc/conf/GENERIC | 3 | ||||
-rw-r--r-- | sys/arch/macppc/conf/files.macppc | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/macppc/conf/GENERIC b/sys/arch/macppc/conf/GENERIC index 2ac43a177a3..cd63483ec2f 100644 --- a/sys/arch/macppc/conf/GENERIC +++ b/sys/arch/macppc/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.4 2001/09/28 04:41:50 drahn Exp $ +# $OpenBSD: GENERIC,v 1.5 2001/10/03 14:45:37 drahn Exp $ # # PPC GENERIC config file # @@ -83,6 +83,7 @@ bm* at macobio? # BMAC ethernet #mesh* at macobio? flags 0xffff # MESH SCSI #nvram* at macobio? # nvram adb* at macobio? # Apple Desktop Bus +apm0 at adb? # APM emulation wi* at macobio? # airport gpio* at macobio? # GPIO, PMU interrupt router. gpio* at gpio? # GPIO, PMU interrupt router. diff --git a/sys/arch/macppc/conf/files.macppc b/sys/arch/macppc/conf/files.macppc index 85c002291fd..22183d95809 100644 --- a/sys/arch/macppc/conf/files.macppc +++ b/sys/arch/macppc/conf/files.macppc @@ -1,4 +1,4 @@ -# $OpenBSD: files.macppc,v 1.3 2001/09/16 03:19:30 drahn Exp $ +# $OpenBSD: files.macppc,v 1.4 2001/10/03 14:45:37 drahn Exp $ # # macppc-specific configuration info @@ -158,6 +158,10 @@ file arch/macppc/dev/adb.c adb needs-flag file arch/macppc/dev/adb_direct.c adb file arch/macppc/dev/pm_direct.c adb +device apm +attach apm at adb +file arch/macppc/dev/apm.c apm needs-count + device aed attach aed at adb file arch/macppc/dev/aed.c aed needs-flag |