2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Miscellaneous ARCS PROM routines.
8 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
9 * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
10 * Copyright (C) 1999 Silicon Graphics, Inc.
12 #include <linux/config.h>
13 #include <linux/init.h>
14 #include <linux/kernel.h>
16 #include <asm/bcache.h>
18 #include <asm/arc/types.h>
19 #include <asm/sgialib.h>
20 #include <asm/bootinfo.h>
21 #include <asm/system.h>
23 extern void *sgiwd93_host;
24 extern void reset_wd33c93(void *instance);
31 #ifdef CONFIG_SCSI_SGIWD93
32 reset_wd33c93(sgiwd93_host);
43 #ifdef CONFIG_SCSI_SGIWD93
44 reset_wd33c93(sgiwd93_host);
50 /* XXX is this a soft reset basically? XXX */
56 #ifdef CONFIG_SCSI_SGIWD93
57 reset_wd33c93(sgiwd93_host);
68 #ifdef CONFIG_SCSI_SGIWD93
69 reset_wd33c93(sgiwd93_host);
76 ArcEnterInteractiveMode(VOID)
80 #ifdef CONFIG_SCSI_SGIWD93
81 reset_wd33c93(sgiwd93_host);
88 ArcSaveConfiguration(VOID)
90 return ARC_CALL0(cfg_save);
96 return (struct linux_sysid *) ARC_CALL0(get_sysid);
100 ArcFlushAllCaches(VOID)
102 ARC_CALL0(cache_flush);
105 DISPLAY_STATUS * __init ArcGetDisplayStatus(ULONG FileID)
107 return (DISPLAY_STATUS *) ARC_CALL1(GetDisplayStatus, FileID);