diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-28 21:02:50 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-28 21:02:50 +0000 |
commit | 09f1040d9f8fbb4c35d79fd518bd64ec62fc9f6d (patch) | |
tree | 5b11e6221e6d9b91c808e69b2a1823558ea23cc0 /sys/arch/arm/include | |
parent | d712b1c30203948ed4094f85fdcd5f1700d1eb9d (diff) |
Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET
mbuf constants from MD param.h to MI param.h.
Besides being the same on every arch, things will
most probly break if any arch has different values
then the others.
The NMBCLUSTERS constants needs to be MD though;
ok miod@,krw@,claudio@
Diffstat (limited to 'sys/arch/arm/include')
-rw-r--r-- | sys/arch/arm/include/param.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/arm/include/param.h b/sys/arch/arm/include/param.h index 4cf1f546468..ae7022c4ead 100644 --- a/sys/arch/arm/include/param.h +++ b/sys/arch/arm/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.10 2006/03/19 01:47:23 martin Exp $ */ +/* $OpenBSD: param.h,v 1.11 2007/05/28 21:02:49 thib Exp $ */ /* $NetBSD: param.h,v 1.9 2002/03/24 03:37:23 thorpej Exp $ */ /* @@ -169,15 +169,7 @@ void delay (unsigned); /* * Constants related to network buffer management. - * MCLBYTES must be no larger than NBPG (the software page size), and, - * on machines that exchange pages of input or output buffers with mbuf - * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple - * of the hardware page size. */ -#define MSIZE 256 /* size of an mbuf */ -#define MCLSHIFT 11 /* convert bytes to m_buf clusters */ - /* 2K cluster can hold Ether frame */ -#define MCLBYTES (1 << MCLSHIFT) /* size of a m_buf cluster */ #define NMBCLUSTERS 4096 /* map size, max cluster allocation */ #define ovbcopy bcopy |