From 428fe47992a7779523cc4d7f505b729b49b8ec7d Mon Sep 17 00:00:00 2001 From: Per Fogelstrom Date: Sun, 23 Feb 1997 21:59:34 +0000 Subject: First cut of Flash memory disk. Needs more work though... --- sys/arch/wgrisc/include/param.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/wgrisc/include') diff --git a/sys/arch/wgrisc/include/param.h b/sys/arch/wgrisc/include/param.h index 052db4a28eb..89821d1d398 100644 --- a/sys/arch/wgrisc/include/param.h +++ b/sys/arch/wgrisc/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.1 1997/02/06 16:02:43 pefo Exp $ */ +/* $OpenBSD: param.h,v 1.2 1997/02/23 21:59:29 pefo Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -95,8 +95,8 @@ * of the hardware page size. */ #define MSIZE 128 /* size of an mbuf */ -#define MCLBYTES 2048 /* enough for whole Ethernet packet */ -#define MCLSHIFT 10 +#define MCLSHIFT 11 /* log2(MCLBYTES) */ +#define MCLBYTES (1 << MCLSHIFT) /* enough for whole Ethernet packet */ #define MCLOFSET (MCLBYTES - 1) #ifndef NMBCLUSTERS #ifdef GATEWAY -- cgit v1.2.3