summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/conf
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-20 20:53:32 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-08-20 20:53:32 +0000
commit858ba7c708082a5cdab98ad1618a8f96661242fa (patch)
tree94646679b8ff63ad2649b333366ee61e911df9ba /sys/arch/hppa/conf
parent224f4b32f567f4a88901cf5a8a333e3286b36cf6 (diff)
handle power button (on 712 for now)
Diffstat (limited to 'sys/arch/hppa/conf')
-rw-r--r--sys/arch/hppa/conf/GENERIC6
-rw-r--r--sys/arch/hppa/conf/RAMDISK6
-rw-r--r--sys/arch/hppa/conf/files.hppa6
3 files changed, 11 insertions, 7 deletions
diff --git a/sys/arch/hppa/conf/GENERIC b/sys/arch/hppa/conf/GENERIC
index c806d54033f..c0780fbc299 100644
--- a/sys/arch/hppa/conf/GENERIC
+++ b/sys/arch/hppa/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.35 2003/08/14 19:55:57 mickey Exp $
+# $OpenBSD: GENERIC,v 1.36 2003/08/20 20:53:31 mickey Exp $
# Machine architecture; required by config(8)
machine hppa
@@ -26,11 +26,11 @@ mainbus0 at root # root "bus"
mem* at mainbus0 # /dev/*mem and memory controller
pdc0 at mainbus0 # PDC/IODC wrapper for boot console
+power0 at mainbus0 # power/fail manager (iv 2)
cpu* at mainbus0 irq 31 # HP PA-RISC cpu
-phantomas0 at mainbus0 # Phantom PseudoBC GSC+ Port
#fpu* at mainbus0 # HP PA-RISC fpu (iv N/A)
#pmu* at mainbus0 irq 29 # HP PA-RISC perfomance monitor unit
-#power* at mainbus0 # power/fail manager (iv 2)
+phantomas0 at mainbus0 # Phantom PseudoBC GSC+ Port
lasi0 at mainbus0 offset 0x100000 irq 28 # LASI host adapter
lasi0 at mainbus0 offset 0xfd00000 irq 28 # LASI on C1[01]0, J2[01]0
diff --git a/sys/arch/hppa/conf/RAMDISK b/sys/arch/hppa/conf/RAMDISK
index e52d14b2354..9e696535865 100644
--- a/sys/arch/hppa/conf/RAMDISK
+++ b/sys/arch/hppa/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.18 2003/08/14 19:54:15 mickey Exp $
+# $OpenBSD: RAMDISK,v 1.19 2003/08/20 20:53:31 mickey Exp $
#
# Diskless kernel config
#
@@ -43,11 +43,11 @@ mainbus0 at root # root "bus"
mem* at mainbus0 # /dev/*mem and memory controller
pdc0 at mainbus0 # PDC/IODC wrapper for boot console
+power0 at mainbus0 # power/fail manager (iv 2)
cpu* at mainbus0 irq 31 # HP PA-RISC cpu
-phantomas0 at mainbus0 # Phantom PseudoBC GSC+ Port
#fpu* at mainbus0 # HP PA-RISC fpu (iv N/A)
#pmu* at mainbus0 irq 29 # HP PA-RISC perfomance monitor unit
-#power* at mainbus0 # power/fail manager (iv 2)
+phantomas0 at mainbus0 # Phantom PseudoBC GSC+ Port
lasi0 at mainbus0 offset 0x100000 irq 28 # LASI host adapter
lasi0 at mainbus0 offset 0xfd00000 irq 28 # LASI on C1[01]0, J2[01]0
diff --git a/sys/arch/hppa/conf/files.hppa b/sys/arch/hppa/conf/files.hppa
index fad66c0c665..feac7e5f228 100644
--- a/sys/arch/hppa/conf/files.hppa
+++ b/sys/arch/hppa/conf/files.hppa
@@ -1,4 +1,4 @@
-# $OpenBSD: files.hppa,v 1.45 2003/03/29 00:51:38 mickey Exp $
+# $OpenBSD: files.hppa,v 1.46 2003/08/20 20:53:31 mickey Exp $
#
# hppa-specific configuration info
@@ -75,6 +75,10 @@ device pdc
attach pdc at mainbus
file arch/hppa/dev/pdc.c pdc
+device power
+attach power at mainbus
+file arch/hppa/dev/power.c power
+
device mem
attach mem at mainbus
file arch/hppa/dev/mem.c mem