param.h revision 1.1
1/* $NetBSD: param.h,v 1.1 2000/03/19 23:07:47 soren Exp $ */ 2 3#include <mips/mips_param.h> 4 5#define _MACHINE_ARCH mipseb 6#define MACHINE_ARCH "mipseb" 7#define _MACHINE cobalt 8#define MACHINE "cobalt" 9#define MID_MACHINE MID_MIPS 10 11#define DEV_BSIZE 512 12#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ 13#define BLKDEV_IOSIZE 2048 14#define MAXPHYS (64 * 1024) /* Maximum raw I/O transfer size */ 15 16#define CLSIZE 1 17#define CLSIZELOG2 0 18 19#define MSIZE 128 /* Size of an mbuf */ 20 21#ifndef MCLSHIFT 22#define MCLSHIFT 11 /* Convert bytes to m_buf clusters. */ 23#endif 24 25#define MCLBYTES (1 << MCLSHIFT) /* Size of a m_buf cluster */ 26#define MCLOFSET (MCLBYTES - 1) 27 28#if defined(_KERNEL) && !defined(_LKM) 29#include "opt_gateway.h" 30#endif /* _KERNEL && ! _LKM */ 31 32#ifndef NMBCLUSTERS 33#ifdef GATEWAY 34#define NMBCLUSTERS 2048 /* Map size, max cluster allocation */ 35#else 36#define NMBCLUSTERS 1024 /* Map size, max cluster allocation */ 37#endif 38#endif 39 40#include <machine/intr.h> 41 42#ifdef _KERNEL 43#ifndef _LOCORE 44 45__inline extern void delay(unsigned long); 46#define DELAY(n) delay(n) 47 48#endif /* _LOCORE */ 49#endif /* _KERNEL */ 50