From a5f4eea72d77c6552f303714914cf0afe5d6639a Mon Sep 17 00:00:00 2001
From: Jesse Barnes <jbarnes@sgi.com>
Date: Tue, 20 Jul 2004 00:07:48 -0700
Subject: [PATCH] [PATCH] ia64: sn2 requires a 3.40 or better PROM

The SGI 3.40 PROM includes a fix for the move of the init_task to
region 5, so specify that in sn_sal.h.  Unfortunately, the check for
the minimum required version happens *after* the hang/MCA that is
symptomatic of the bug, so this message also acts as an announcement
of the requirement.

Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: David Mosberger <davidm@hpl.hp.com>
---
 include/asm-ia64/sn/sn_sal.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-ia64/sn/sn_sal.h b/include/asm-ia64/sn/sn_sal.h
index cc063429344f..5bd9b3335975 100644
--- a/include/asm-ia64/sn/sn_sal.h
+++ b/include/asm-ia64/sn/sn_sal.h
@@ -141,8 +141,8 @@ sn_sal_rev_minor(void)
  * Specify the minimum PROM revsion required for this kernel.
  * Note that they're stored in hex format...
  */
-#define SN_SAL_MIN_MAJOR	0x1  /* SN2 kernels need at least PROM 1.0 */
-#define SN_SAL_MIN_MINOR	0x0
+#define SN_SAL_MIN_MAJOR	0x3  /* SN2 kernels need at least PROM 3.40 */
+#define SN_SAL_MIN_MINOR	0x40
 
 u64 ia64_sn_probe_io_slot(long paddr, long size, void *data_ptr);
 
-- 
2.30.9