summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi/prom
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-06-01 03:16:17 +0000
commitd8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch)
tree3067bc130b80d52808e6390c9fc7fc087ec1e33c /arch/mips/sgi/prom
parent19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff)
Initial revision
Diffstat (limited to 'arch/mips/sgi/prom')
-rw-r--r--arch/mips/sgi/prom/misc.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/mips/sgi/prom/misc.c b/arch/mips/sgi/prom/misc.c
index 47051a1b3..53ee61cfe 100644
--- a/arch/mips/sgi/prom/misc.c
+++ b/arch/mips/sgi/prom/misc.c
@@ -1,9 +1,9 @@
-/* $Id: misc.c,v 1.3 1996/08/07 02:54:12 dm Exp $
+/*
* misc.c: Miscellaneous ARCS PROM routines.
*
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
*/
-
+#include <linux/config.h>
#include <linux/kernel.h>
#include <asm/sgialib.h>
@@ -51,7 +51,9 @@ void prom_halt(void)
{
shutoff_r4600_cache();
initialize_kbd();
+#if CONFIG_SCSI_SGIWD93
reset_wd33c93(sgiwd93_host);
+#endif
cli();
romvec->halt();
}
@@ -60,7 +62,9 @@ void prom_powerdown(void)
{
shutoff_r4600_cache();
initialize_kbd();
+#if CONFIG_SCSI_SGIWD93
reset_wd33c93(sgiwd93_host);
+#endif
cli();
romvec->pdown();
}
@@ -70,7 +74,9 @@ void prom_restart(void)
{
shutoff_r4600_cache();
initialize_kbd();
+#if CONFIG_SCSI_SGIWD93
reset_wd33c93(sgiwd93_host);
+#endif
cli();
romvec->restart();
}
@@ -79,7 +85,9 @@ void prom_reboot(void)
{
shutoff_r4600_cache();
initialize_kbd();
+#if CONFIG_SCSI_SGIWD93
reset_wd33c93(sgiwd93_host);
+#endif
cli();
romvec->reboot();
}
@@ -88,7 +96,9 @@ void prom_imode(void)
{
shutoff_r4600_cache();
initialize_kbd();
+#if CONFIG_SCSI_SGIWD93
reset_wd33c93(sgiwd93_host);
+#endif
cli();
romvec->imode();
}