aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorBosko Milekic <bmilekic@FreeBSD.org>2000-10-08 03:52:27 +0000
committerBosko Milekic <bmilekic@FreeBSD.org>2000-10-08 03:52:27 +0000
commitec222a71d90719dc1f91b36f1b973f66fc266089 (patch)
tree233ea9cbf053caf7c5f24af598ea297293ba8bce /sys/alpha/include
parent039c6f3637ba52439adf7b4aee345b97d8241815 (diff)
Notes
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/param.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h
index 28bef0185f6ce..efd4efe5bccd2 100644
--- a/sys/alpha/include/param.h
+++ b/sys/alpha/include/param.h
@@ -120,18 +120,16 @@
/*
* Constants related to network buffer management.
- * MCLBYTES must be no larger than CLBYTES (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.
+ * MCLBYTES must be no larger than PAGE_SIZE.
*/
+#ifndef MSIZE
#define MSIZE 256 /* size of an mbuf */
+#endif /* MSIZE */
+
#ifndef MCLSHIFT
-# define MCLSHIFT 11 /* convert bytes to m_buf clusters */
- /* 2K cluster can hold Ether frame */
+#define MCLSHIFT 11 /* convert bytes to mbuf clusters */
#endif /* MCLSHIFT */
-#define MCLBYTES (1 << MCLSHIFT) /* size of a m_buf cluster */
-#define MCLOFSET (MCLBYTES - 1)
+#define MCLBYTES (1 << MCLSHIFT) /* size of a mbuf cluster */
/* pages ("clicks") to disk blocks */
#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT))