diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-10-26 17:24:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-10-26 17:24:35 +0000 |
commit | 705140ce56e3eef3dec2833ef019c114d91e21d3 (patch) | |
tree | fab9404e3d20f1e03768dfb0ae34528e07a4c372 /sys/arch/hppa | |
parent | 3655a35f009f99096d57d04f0f9ad98824dbec42 (diff) |
thib missed this architecture when he did all the other architectures;
ok thib jsing
--
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/hppa')
-rw-r--r-- | sys/arch/hppa/include/param.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h index d368f3fc811..3d0c56e357e 100644 --- a/sys/arch/hppa/include/param.h +++ b/sys/arch/hppa/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.38 2010/06/29 20:30:32 guenther Exp $ */ +/* $OpenBSD: param.h,v 1.39 2010/10/26 17:24:34 deraadt Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -71,15 +71,7 @@ /* * Constants related to network buffer management. - * MCLBYTES must be no larger than 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 -#define MCLBYTES (1 << MCLSHIFT) /* large enough for ether MTU */ -#define MCLOFSET (MCLBYTES - 1) #define NMBCLUSTERS 4096 /* map size, max cluster allocation */ /* |