From d78c3e0c4b3482bcc998de4d120c74e31c5728c5 Mon Sep 17 00:00:00 2001 From: Thomas Graichen Date: Tue, 10 Jun 1997 14:19:04 +0000 Subject: update the pmax specific stuff to NetBSD-current as of about 970608 - some cosmetic things will follow together with an update to an exact NETBSD_CU- RRENT_xxxxxx level --- sys/arch/pmax/include/param.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'sys/arch/pmax/include/param.h') diff --git a/sys/arch/pmax/include/param.h b/sys/arch/pmax/include/param.h index 81090a088f0..db56a782c17 100644 --- a/sys/arch/pmax/include/param.h +++ b/sys/arch/pmax/include/param.h @@ -1,4 +1,4 @@ -/* $NetBSD: param.h,v 1.17 1996/05/20 10:50:52 jonathan Exp $ */ +/* $NetBSD: param.h,v 1.18 1997/02/26 01:45:41 jonathan Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -88,9 +88,15 @@ * of the hardware page size. */ #define MSIZE 128 /* size of an mbuf */ -#define MCLSHIFT 11 -#define MCLBYTES (1 << MCLSHIFT) /* enough for whole Ethernet packet */ +#ifndef MCLSHIFT + +# define MCLSHIFT 11 /* convert bytes to m_buf clusters */ + /* 2K cluster can hold Ether frame */ +#endif /* MCLSHIFT */ + +#define MCLBYTES (1 << MCLSHIFT) /* size of a m_buf cluster */ #define MCLOFSET (MCLBYTES - 1) + #ifndef NMBCLUSTERS #ifdef GATEWAY #define NMBCLUSTERS 2048 /* map size, max cluster allocation */ -- cgit v1.2.3