summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-11 11:13:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-11 11:13:05 +0000
commit95fabd3a19bd7178883d20448000a7fa9dd73c06 (patch)
tree1034488ef0213323b627ff2b5c1f724a7138465d /sys/arch/sparc/include
parent045ff6c1d5addc67b49047c0b0f25caa7392a900 (diff)
MCLSHIFT=11, and calc MCLBYTES in such terms. found by pefo
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r--sys/arch/sparc/include/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/param.h b/sys/arch/sparc/include/param.h
index ce866af3ca1..8754188b97c 100644
--- a/sys/arch/sparc/include/param.h
+++ b/sys/arch/sparc/include/param.h
@@ -123,8 +123,8 @@ extern int nbpg, pgofset, pgshift;
* of the hardware page size.
*/
#define MSIZE 128 /* size of an mbuf */
-#define MCLBYTES 2048 /* enough for whole Ethernet packet */
#define MCLSHIFT 11 /* log2(MCLBYTES) */
+#define MCLBYTES (1 << MCLSHIFT) /* enough for whole Ethernet packet */
#define MCLOFSET (MCLBYTES - 1)
#ifndef NMBCLUSTERS