Source-Changes-HG archive

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

[src/trunk]: src/sys/arch - include <mips/mips_param.h> after MACHINE is defined



details:   https://anonhg.NetBSD.org/src/rev/ccad16f31be0
branches:  trunk
changeset: 763400:ccad16f31be0
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Mar 18 16:28:51 2011 +0000

description:
- include <mips/mips_param.h> after MACHINE is defined
- remove redundant comment

diffstat:

 sys/arch/evbmips/include/param.h |  10 +++-------
 sys/arch/pmax/include/param.h    |  12 +++---------
 sys/arch/sbmips/include/param.h  |  12 +++---------
 3 files changed, 9 insertions(+), 25 deletions(-)

diffs (92 lines):

diff -r 3ad7d67e533a -r ccad16f31be0 sys/arch/evbmips/include/param.h
--- a/sys/arch/evbmips/include/param.h  Fri Mar 18 16:23:09 2011 +0000
+++ b/sys/arch/evbmips/include/param.h  Fri Mar 18 16:28:51 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.8 2011/02/08 20:20:12 rmind Exp $  */
+/*     $NetBSD: param.h,v 1.9 2011/03/18 16:30:01 tsutsui Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -38,18 +38,14 @@
 #define _EVBMIPS_PARAM_H_
 
 /*
- * Machine-dependent constants (VM, etc) common across MIPS cpus
- */
-
-#include <mips/mips_param.h>
-
-/*
  * Machine dependent constants for MIPS evaluation boards.
  */
 
 #define        _MACHINE        evbmips
 #define        MACHINE         "evbmips"
 
+#include <mips/mips_param.h>
+
 #define        DEV_BSIZE       512
 #define        DEV_BSHIFT      9               /* log2(DEV_BSIZE) */
 #define BLKDEV_IOSIZE  2048
diff -r 3ad7d67e533a -r ccad16f31be0 sys/arch/pmax/include/param.h
--- a/sys/arch/pmax/include/param.h     Fri Mar 18 16:23:09 2011 +0000
+++ b/sys/arch/pmax/include/param.h     Fri Mar 18 16:28:51 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.44 2011/03/06 20:34:56 he Exp $    */
+/*     $NetBSD: param.h,v 1.45 2011/03/18 16:28:51 tsutsui Exp $       */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -42,19 +42,13 @@
 #define _PMAX_PARAM_H_
 
 /*
- * Machine-dependent constants (VM, etc) common across MIPS cpus
- */
-
-#include <mips/mips_param.h>
-
-/*
  * Machine dependent constants for mips-based DECstations.
  */
 
 #define        _MACHINE        pmax
-#ifdef _KERNEL
 #define        MACHINE         "pmax"
-#endif
+
+#include <mips/mips_param.h>
 
 #define        DEV_BSIZE       512
 #define        DEV_BSHIFT      9               /* log2(DEV_BSIZE) */
diff -r 3ad7d67e533a -r ccad16f31be0 sys/arch/sbmips/include/param.h
--- a/sys/arch/sbmips/include/param.h   Fri Mar 18 16:23:09 2011 +0000
+++ b/sys/arch/sbmips/include/param.h   Fri Mar 18 16:28:51 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.9 2011/03/06 20:34:56 he Exp $     */
+/*     $NetBSD: param.h,v 1.10 2011/03/18 16:32:07 tsutsui Exp $       */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -38,19 +38,13 @@
 #define _SBMIPS_PARAM_H_
 
 /*
- * Machine-dependent constants (VM, etc) common across MIPS cpus
- */
-
-#include <mips/mips_param.h>
-
-/*
  * Machine dependent constants for Broadcom/Sibyte boards.
  */
 
 #define        _MACHINE        sbmips
-#ifdef _KERNEL
 #define        MACHINE         "sbmips"
-#endif
+
+#include <mips/mips_param.h>
 
 #define        DEV_BSIZE       512
 #define        DEV_BSHIFT      9               /* log2(DEV_BSIZE) */



Home | Main Index | Thread Index | Old Index