patch-1.3.93 linux/arch/sparc/prom/bootstr.c
Next file: linux/arch/sparc/prom/console.c
Previous file: linux/arch/sparc/mm/sun4c.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Apr 21 12:30:32 1996
- Orig file:
v1.3.92/linux/arch/sparc/prom/bootstr.c
- Orig date:
Mon Mar 4 08:49:58 1996
diff -u --recursive --new-file v1.3.92/linux/arch/sparc/prom/bootstr.c linux/arch/sparc/prom/bootstr.c
@@ -1,9 +1,10 @@
-/* $Id: bootstr.c,v 1.4 1996/02/08 07:06:43 zaitcev Exp $
+/* $Id: bootstr.c,v 1.5 1996/04/04 16:30:53 tridge Exp $
* bootstr.c: Boot string/argument acquisition from the PROM.
*
* Copyright(C) 1995 David S. Miller (davem@caip.rutgers.edu)
*/
+#include <linux/config.h>
#include <asm/oplib.h>
static char barg_buf[256];
@@ -33,6 +34,14 @@
cp += strlen(cp);
*cp = 0;
break;
+ case PROM_AP1000:
+ /*
+ * Get message from host boot process.
+ */
+#if CONFIG_AP1000
+ ap_getbootargs(barg_buf);
+#endif
+ break;
default:
barg_buf[0] = 0;
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this