param.h revision 1.4
11.4Srmind/*	$NetBSD: param.h,v 1.4 2011/02/08 20:20:13 rmind Exp $	*/
21.1Stsutsui
31.1Stsutsui/*
41.4Srmind * Copyright (c) 1988 University of Utah.
51.1Stsutsui * Copyright (c) 1992, 1993
61.1Stsutsui *	The Regents of the University of California.  All rights reserved.
71.1Stsutsui *
81.1Stsutsui * This code is derived from software contributed to Berkeley by
91.1Stsutsui * the Systems Programming Group of the University of Utah Computer
101.1Stsutsui * Science Department and Ralph Campbell.
111.1Stsutsui *
121.1Stsutsui * Redistribution and use in source and binary forms, with or without
131.1Stsutsui * modification, are permitted provided that the following conditions
141.1Stsutsui * are met:
151.1Stsutsui * 1. Redistributions of source code must retain the above copyright
161.1Stsutsui *    notice, this list of conditions and the following disclaimer.
171.1Stsutsui * 2. Redistributions in binary form must reproduce the above copyright
181.1Stsutsui *    notice, this list of conditions and the following disclaimer in the
191.1Stsutsui *    documentation and/or other materials provided with the distribution.
201.1Stsutsui * 3. Neither the name of the University nor the names of its contributors
211.1Stsutsui *    may be used to endorse or promote products derived from this software
221.1Stsutsui *    without specific prior written permission.
231.1Stsutsui *
241.1Stsutsui * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
251.1Stsutsui * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
261.1Stsutsui * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
271.1Stsutsui * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
281.1Stsutsui * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
291.1Stsutsui * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
301.1Stsutsui * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
311.1Stsutsui * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
321.1Stsutsui * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
331.1Stsutsui * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
341.1Stsutsui * SUCH DAMAGE.
351.1Stsutsui */
361.1Stsutsui
371.1Stsutsui#ifndef _EWS4800MIPS_PARAM_H_
381.1Stsutsui#define _EWS4800MIPS_PARAM_H_
391.1Stsutsui
401.1Stsutsui#include <mips/mips_param.h>
411.1Stsutsui
421.1Stsutsui#define	_MACHINE	ews4800mips
431.1Stsutsui#define	MACHINE		"ews4800mips"
441.1Stsutsui
451.1Stsutsui#define	DEV_BSIZE	512
461.1Stsutsui#define	DEV_BSHIFT	9		/* log2(DEV_BSIZE) */
471.1Stsutsui#define	BLKDEV_IOSIZE	2048
481.1Stsutsui#define	MAXPHYS		(64 * 1024)	/* Maximum raw I/O transfer size */
491.1Stsutsui
501.1Stsutsui#ifdef _KERNEL
511.1Stsutsui#ifndef _LOCORE
521.1Stsutsui
531.1Stsutsuiextern void delay(unsigned);
541.1Stsutsui#define	DELAY(n)	delay(n)
551.1Stsutsui
561.1Stsutsui/* provide spl*() */
571.1Stsutsui#include <machine/intr.h>
581.1Stsutsui
591.1Stsutsui#endif /* !_LOCORE */
601.1Stsutsui#endif /* _KERNEL */
611.1Stsutsui
621.1Stsutsui#endif /* !_EWS4800MIPS_PARAM_H_ */
63