summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2006-05-28 22:41:45 +0000
committerJason Wright <jason@cvs.openbsd.org>2006-05-28 22:41:45 +0000
commit85a7c09af274739ece226ba92ca4316bdb4ea051 (patch)
tree9c178ab4bff21c73f054fd3d06742598aa03d2aa
parent9b3ca5884cd40b378f601c1af826d6a4f12de50f (diff)
make sure the IMR values are visible when we drop back into the prom
-rw-r--r--sys/arch/sparc64/dev/sab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/sab.c b/sys/arch/sparc64/dev/sab.c
index c4881e54239..9d958917dc5 100644
--- a/sys/arch/sparc64/dev/sab.c
+++ b/sys/arch/sparc64/dev/sab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sab.c,v 1.18 2006/05/28 17:10:52 jason Exp $ */
+/* $OpenBSD: sab.c,v 1.19 2006/05/28 22:41:44 jason Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
@@ -1378,4 +1378,5 @@ sabtty_shutdown(vsc)
sabtty_cec_wait(sc);
SAB_WRITE(sc, SAB_CMDR, SAB_CMDR_RRES);
sabtty_cec_wait(sc);
+ SAB_WRITE(sc, SAB_IPC, SAB_READ(sc, SAB_IPC) | SAB_IPC_VIS);
}