Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include Allow MAXPHYS to be overriden. Inc...



details:   https://anonhg.NetBSD.org/src/rev/2e3d865ed82f
branches:  trunk
changeset: 536102:2e3d865ed82f
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Sep 06 19:26:26 2002 +0000

description:
Allow MAXPHYS to be overriden.  Increase the default MSGBUFSIZE to 2 pages.

diffstat:

 sys/arch/powerpc/include/param.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 7ac48df5026c -r 2e3d865ed82f sys/arch/powerpc/include/param.h
--- a/sys/arch/powerpc/include/param.h  Fri Sep 06 17:36:19 2002 +0000
+++ b/sys/arch/powerpc/include/param.h  Fri Sep 06 19:26:26 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.13 2002/03/09 23:35:59 chs Exp $   */
+/*     $NetBSD: param.h,v 1.14 2002/09/06 19:26:26 matt Exp $  */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -60,13 +60,15 @@
 #define        DEV_BSHIFT      9               /* log2(DEV_BSIZE) */
 #define        DEV_BSIZE       (1 << DEV_BSHIFT)
 #define        BLKDEV_IOSIZE   NBPG
+#ifndef MAXPHYS
 #define        MAXPHYS         (64 * 1024)     /* max raw I/O transfer size */
+#endif
 
 #define        UPAGES          4
 #define        USPACE          (UPAGES * NBPG)
 
 #ifndef        MSGBUFSIZE
-#define        MSGBUFSIZE      NBPG            /* default message buffer size */
+#define        MSGBUFSIZE      (2*NBPG)        /* default message buffer size */
 #endif
 
 #ifndef KERNBASE



Home | Main Index | Thread Index | Old Index