From fc3961284cee53a41c94cc02119a36c3579a76a8 Mon Sep 17 00:00:00 2001 From: briggs Date: Tue, 1 Nov 1994 03:53:28 +0000 Subject: [PATCH] Raise MCLBYTES to 2048. --- sys/arch/mac68k/include/param.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/arch/mac68k/include/param.h b/sys/arch/mac68k/include/param.h index 23f5fe07c0ab..9f249012b277 100644 --- a/sys/arch/mac68k/include/param.h +++ b/sys/arch/mac68k/include/param.h @@ -1,4 +1,4 @@ -/* $NetBSD: param.h,v 1.13 1994/10/26 08:46:35 cgd Exp $ */ +/* $NetBSD: param.h,v 1.14 1994/11/01 03:53:28 briggs Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -140,9 +140,10 @@ * of the hardware page size. */ #define MSIZE 128 /* size of an mbuf */ -#define MCLBYTES 1024 -#define MCLSHIFT 10 -#define MCLOFSET (MCLBYTES - 1) +#define MCLSHIFT 11 /* convert bytes to m_buf clusters */ +#define MCLBYTES (1 << MCLSHIFT) /* size of an m_buf cluster */ +#define MCLOFSET (MCLBYTES - 1) /* offset within an m_buf cluster */ + #ifndef NMBCLUSTERS #ifdef GATEWAY #define NMBCLUSTERS 512 /* map size, max cluster allocation */