summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-11-30 20:59:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-11-30 20:59:13 +0000
commitaeb556cc2fc21ac6304265bfe78d8e64e2c7de51 (patch)
treec554612f01ea0cda6a92e667bb2859c8a52805f3 /sys/arch/sun3
parent745d3cdb629972b84e5ebf02d88ce8d5902fec67 (diff)
Remove duplicates with <m68k/param.h>
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/include/param.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/sys/arch/sun3/include/param.h b/sys/arch/sun3/include/param.h
index 6e097903976..1da485117d1 100644
--- a/sys/arch/sun3/include/param.h
+++ b/sys/arch/sun3/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.27 2001/07/06 02:07:44 provos Exp $ */
+/* $OpenBSD: param.h,v 1.28 2001/11/30 20:59:12 miod Exp $ */
/* $NetBSD: param.h,v 1.34 1996/03/04 05:04:40 cgd Exp $ */
/*
@@ -64,9 +64,9 @@
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
-#define NBSG 0x20000 /* bytes/segment */
-#define SEGOFSET (NBSG-1) /* byte offset into segment */
#define SEGSHIFT 17 /* LOG2(NBSG) */
+#define NBSG (1 << SEGSHIFT) /* bytes/segment */
+#define SEGOFSET (NBSG-1) /* byte offset into segment */
#define KERNBASE 0x0E000000 /* start of kernel virtual */
#define KERNTEXTOFF 0x0E004000 /* start of kernel text */
@@ -75,25 +75,6 @@
#define MAXBSIZE 0x8000 /* XXX temp until sun3 dma chaining */
-/*
- * 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)
-#ifndef NMBCLUSTERS
-#ifdef GATEWAY
-#define NMBCLUSTERS 512 /* map size, max cluster allocation */
-#else
-#define NMBCLUSTERS 256 /* map size, max cluster allocation */
-#endif
-#endif
-
#define MSGBUFOFF 0x200
#define MSGBUFSIZE (NBPG - MSGBUFOFF)