summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-28 21:02:50 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-28 21:02:50 +0000
commit09f1040d9f8fbb4c35d79fd518bd64ec62fc9f6d (patch)
tree5b11e6221e6d9b91c808e69b2a1823558ea23cc0 /sys/arch/vax
parentd712b1c30203948ed4094f85fdcd5f1700d1eb9d (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/vax')
-rw-r--r--sys/arch/vax/include/param.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/arch/vax/include/param.h b/sys/arch/vax/include/param.h
index ab1fc45ce4d..789f32c49ba 100644
--- a/sys/arch/vax/include/param.h
+++ b/sys/arch/vax/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.32 2006/05/30 21:25:28 miod Exp $ */
+/* $OpenBSD: param.h,v 1.33 2007/05/28 21:02:49 thib Exp $ */
/* $NetBSD: param.h,v 1.39 1999/10/22 21:14:34 ragge Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -96,21 +96,7 @@
/*
* 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.
*/
-
-#ifndef MSIZE
-#define MSIZE 256 /* size of an mbuf */
-#endif /* MSIZE */
-
-#ifndef MCLSHIFT
-#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 */
#define NMBCLUSTERS 768 /* map size, max cluster allocation */
/*