summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/include/param.h
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-06-10 14:19:04 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-06-10 14:19:04 +0000
commitd78c3e0c4b3482bcc998de4d120c74e31c5728c5 (patch)
tree754f54a7fa91cec3cf438faf03da90ac55300610 /sys/arch/pmax/include/param.h
parentc1f2151f781958b5795a8828cd42b912f0e0f197 (diff)
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
Diffstat (limited to 'sys/arch/pmax/include/param.h')
-rw-r--r--sys/arch/pmax/include/param.h12
1 files changed, 9 insertions, 3 deletions
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 */