Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/arch/sun68k/stand/libsa Pull up revision 1.4 (reque...



details:   https://anonhg.NetBSD.org/src/rev/82274a293432
branches:  netbsd-1-6
changeset: 527583:82274a293432
user:      tv <tv%NetBSD.org@localhost>
date:      Tue May 28 23:11:22 2002 +0000

description:
Pull up revision 1.4 (requested by nathanw in ticket #52):
Deliberately #include the appropriate arch-specific param.h to get
the correct value for NBSG, even when building with a different sun68k
target.

diffstat:

 sys/arch/sun68k/stand/libsa/sun2.c |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 4083887497aa -r 82274a293432 sys/arch/sun68k/stand/libsa/sun2.c
--- a/sys/arch/sun68k/stand/libsa/sun2.c        Tue May 28 23:09:39 2002 +0000
+++ b/sys/arch/sun68k/stand/libsa/sun2.c        Tue May 28 23:11:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sun2.c,v 1.3 2001/12/15 23:02:34 fredette Exp $        */
+/*     $NetBSD: sun2.c,v 1.3.10.1 2002/05/28 23:11:22 tv Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -46,6 +46,12 @@
 #define get_segmap sun2_get_segmap
 #define set_segmap sun2_set_segmap
 
+/*
+ * We need to get the sun2 NBSG definition, even if we're 
+ * building this with a different sun68k target.
+ */
+#include <arch/sun2/include/param.h>
+
 #include <sys/param.h>
 #include <machine/idprom.h>
 #include <machine/mon.h>



Home | Main Index | Thread Index | Old Index