diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/include/param.h | 4 | ||||
-rw-r--r-- | sys/arch/arc/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/atari/include/param.h | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/include/param.h | 6 | ||||
-rw-r--r-- | sys/arch/pmax/include/param.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc/include/param.h | 2 | ||||
-rw-r--r-- | sys/arch/sun3/include/param.h | 2 | ||||
-rw-r--r-- | sys/arch/vax/include/param.h | 2 |
8 files changed, 15 insertions, 15 deletions
diff --git a/sys/arch/alpha/include/param.h b/sys/arch/alpha/include/param.h index b33b5f2d21d..1f23fee3227 100644 --- a/sys/arch/alpha/include/param.h +++ b/sys/arch/alpha/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.7 1996/12/08 00:20:25 niklas Exp $ */ +/* $OpenBSD: param.h,v 1.8 1996/12/11 11:12:51 deraadt Exp $ */ /* $NetBSD: param.h,v 1.14 1996/10/25 20:48:59 cgd Exp $ */ /* @@ -97,8 +97,8 @@ * of the hardware page size. */ #define MSIZE 256 /* size of an mbuf */ -#define MCLBYTES 2048 /* large enough for ether MTU */ #define MCLSHIFT 11 +#define MCLBYTES (1 << MCLSHIFT) /* large enough for ether MTU */ #define MCLOFSET (MCLBYTES - 1) #ifndef NMBCLUSTERS #ifdef GATEWAY diff --git a/sys/arch/arc/include/param.h b/sys/arch/arc/include/param.h index 26e074ec129..bee74384ceb 100644 --- a/sys/arch/arc/include/param.h +++ b/sys/arch/arc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.5 1996/09/20 18:18:46 pefo Exp $ */ +/* $OpenBSD: param.h,v 1.6 1996/12/11 11:12:54 deraadt Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -99,8 +99,8 @@ * of the hardware page size. */ #define MSIZE 128 /* size of an mbuf */ -#define MCLBYTES 2048 /* enough for whole Ethernet packet */ -#define MCLSHIFT 10 +#define MCLSHIFT 11 +#define MCLBYTES (1 << MCLSHIFT) /* enough for whole Ethernet packet */ #define MCLOFSET (MCLBYTES - 1) #ifndef NMBCLUSTERS #ifdef GATEWAY diff --git a/sys/arch/atari/include/param.h b/sys/arch/atari/include/param.h index ca836dd5902..ef3100ed403 100644 --- a/sys/arch/atari/include/param.h +++ b/sys/arch/atari/include/param.h @@ -95,8 +95,8 @@ * of the hardware page size. */ #define MSIZE 128 /* size of an mbuf */ -#define MCLBYTES 1024 -#define MCLSHIFT 10 +#define MCLSHIFT 11 +#define MCLBYTES (1 << MCLSHIFT) #define MCLOFSET (MCLBYTES - 1) #ifndef NMBCLUSTERS #ifdef GATEWAY diff --git a/sys/arch/mvme88k/include/param.h b/sys/arch/mvme88k/include/param.h index 37f380ffe3c..00e17de74bc 100644 --- a/sys/arch/mvme88k/include/param.h +++ b/sys/arch/mvme88k/include/param.h @@ -38,7 +38,7 @@ * from: Utah $Hdr: machparam.h 1.11 89/08/14$ * * @(#)param.h 7.8 (Berkeley) 6/28/91 - * $Id: param.h,v 1.1 1995/10/18 10:54:21 deraadt Exp $ + * $Id: param.h,v 1.2 1996/12/11 11:12:57 deraadt Exp $ */ #ifndef _MACHINE_PARAM_H_ #define _MACHINE_PARAM_H_ @@ -104,8 +104,8 @@ * of the hardware page size. */ #define MSIZE 128 /* size of an mbuf */ -#define MCLBYTES 1024 -#define MCLSHIFT 10 +#define MCLSHIFT 11 +#define MCLBYTES (1 << MCLSHIFT) #define MCLOFSET (MCLBYTES - 1) #ifndef NMBCLUSTERS #ifdef GATEWAY diff --git a/sys/arch/pmax/include/param.h b/sys/arch/pmax/include/param.h index 33eb0c3dc82..e677902b4b2 100644 --- a/sys/arch/pmax/include/param.h +++ b/sys/arch/pmax/include/param.h @@ -88,8 +88,8 @@ * of the hardware page size. */ #define MSIZE 128 /* size of an mbuf */ -#define MCLBYTES 2048 /* enough for whole Ethernet packet */ -#define MCLSHIFT 10 +#define MCLSHIFT 11 +#define MCLBYTES (1 << MCLSHIFT) /* enough for whole Ethernet packet */ #define MCLOFSET (MCLBYTES - 1) #ifndef NMBCLUSTERS #ifdef GATEWAY 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 diff --git a/sys/arch/sun3/include/param.h b/sys/arch/sun3/include/param.h index befd54ed918..4bdfc44ed70 100644 --- a/sys/arch/sun3/include/param.h +++ b/sys/arch/sun3/include/param.h @@ -97,8 +97,8 @@ * of the hardware page size. */ #define MSIZE 128 /* size of an mbuf */ -#define MCLBYTES 2048 /* large enough for ether MTU */ #define MCLSHIFT 11 +#define MCLBYTES (1 << MCLSHIFT) /* large enough for ether MTU */ #define MCLOFSET (MCLBYTES - 1) #ifndef NMBCLUSTERS #ifdef GATEWAY diff --git a/sys/arch/vax/include/param.h b/sys/arch/vax/include/param.h index ef969e37240..ec5d9c6b95b 100644 --- a/sys/arch/vax/include/param.h +++ b/sys/arch/vax/include/param.h @@ -99,7 +99,7 @@ #endif /* MSIZE */ #ifndef MCLSHIFT -#define MCLSHIFT 10 /* convert bytes to m_buf clusters */ +#define MCLSHIFT 11 /* convert bytes to m_buf clusters */ #endif /* MCLSHIFT */ #define MCLBYTES (1 << MCLSHIFT) /* size of an m_buf cluster */ #define MCLOFSET (MCLBYTES - 1) /* offset within an m_buf cluster */ |