Re: kernel for MVME167

Steve Woodford <[email protected]> Tue, 19 Aug 2003 10:55:28 +0100 (BST)
Newsgroups gmane.os.netbsd.ports.mvme68k
Message-ID <[email protected]>
On Tue, 19 Aug 2003, Henning Kiel wrote:

> I am successfully running netbsd. Now I wanted to compile my own kernel,
> but got errors:

Apply the attached patch to sys/arch/mvme68k/include/param.h.

> I thought the sources were stable?

They are supposed to be. This error was due to a missing pullup from
-current to the 1.6 branch, which I will submit shortly.

Thanks for reporting the problem.

Cheers, Steve
param.h-diff (text/plain, 899 B)
Index: param.h
===================================================================
RCS file: /cvsroot/src/sys/arch/mvme68k/include/param.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- param.h	2000/12/20 16:53:50	1.24
+++ param.h	2002/11/03 19:56:31	1.25
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.24 2000/12/20 16:53:50 scw Exp $	*/
+/*	$NetBSD: param.h,v 1.25 2002/11/03 19:56:31 chs Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -63,7 +63,7 @@
 #if defined(M68030) && !defined(M68040) && !defined(M68060)
 #define NBSEG		(1 << SEGSHIFT)	/* bytes/segment */
 #elif (defined(M68040) || defined(M68060)) && !defined(M68030)
-#define	NBSEG		((32 * (1 << PGSHIFT)) : (256 * (1 << PGSHIFT)))
+#define	NBSEG		(32 * (1 << PGSHIFT))
 #else
 #define	NBSEG		((mmutype == MMU_68040) ? \
 				(32 * (1 << PGSHIFT)) : (256 * (1 << PGSHIFT)))