summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev/mem.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-03-20 18:50:37 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-03-20 18:50:37 +0000
commit58071b2eabede8388ce54e3a155fa5a4c95cbe6f (patch)
treeb4bf9f015e02e7cb87d34053694e3a46e64a2563 /sys/arch/hppa/dev/mem.c
parentbe5eef1e0232acfd2a8d75586e7e93c99eb6f0a8 (diff)
add the rest of the oosiop machines for timeout programming except for /99s which i ain't sure even exist
Diffstat (limited to 'sys/arch/hppa/dev/mem.c')
-rw-r--r--sys/arch/hppa/dev/mem.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/sys/arch/hppa/dev/mem.c b/sys/arch/hppa/dev/mem.c
index 8e26676bc03..3705e472c4d 100644
--- a/sys/arch/hppa/dev/mem.c
+++ b/sys/arch/hppa/dev/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.23 2004/03/17 20:55:09 miod Exp $ */
+/* $OpenBSD: mem.c,v 1.24 2004/03/20 18:50:36 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -194,9 +194,15 @@ memattach(parent, self, aux)
int s, settimeout;
switch (cpu_hvers) {
- /* probably all oosiop-equipped machines */
- case HPPA_BOARD_HP715_50:
case HPPA_BOARD_HP715_33:
+ case HPPA_BOARD_HP715S_33:
+ case HPPA_BOARD_HP715T_33:
+ case HPPA_BOARD_HP715_50:
+ case HPPA_BOARD_HP715S_50:
+ case HPPA_BOARD_HP715T_50:
+ case HPPA_BOARD_HP715_75:
+ case HPPA_BOARD_HP725_50:
+ case HPPA_BOARD_HP725_75:
settimeout = 1;
break;
default:
@@ -222,6 +228,7 @@ memattach(parent, self, aux)
vic |= (850 << 19); /* clks */
sc->sc_vp->vi_control = vic;
+
__asm __volatile("stwas %1, 0(%0)"
:: "r" (&VI_CTRL), "r" (vic) : "memory");
splx(s);