From 45e5f68016fbfa22073dca207f94710788670acb Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 6 Sep 2002 19:26:26 +0000 Subject: [PATCH] Allow MAXPHYS to be overriden. Increase the default MSGBUFSIZE to 2 pages. --- sys/arch/powerpc/include/param.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/arch/powerpc/include/param.h b/sys/arch/powerpc/include/param.h index 122a12b7bf6d..7c5f022376f2 100644 --- a/sys/arch/powerpc/include/param.h +++ b/sys/arch/powerpc/include/param.h @@ -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