param.h revision 1.9
11.9Stsutsui/*	$NetBSD: param.h,v 1.9 2011/03/18 16:30:01 tsutsui Exp $	*/
21.1Ssimonb
31.1Ssimonb/*
41.8Srmind * Copyright (c) 1988 University of Utah.
51.1Ssimonb * Copyright (c) 1992, 1993
61.1Ssimonb *	The Regents of the University of California.  All rights reserved.
71.4Sagc *
81.4Sagc * This code is derived from software contributed to Berkeley by
91.4Sagc * the Systems Programming Group of the University of Utah Computer
101.4Sagc * Science Department and Ralph Campbell.
111.4Sagc *
121.4Sagc * Redistribution and use in source and binary forms, with or without
131.4Sagc * modification, are permitted provided that the following conditions
141.4Sagc * are met:
151.4Sagc * 1. Redistributions of source code must retain the above copyright
161.4Sagc *    notice, this list of conditions and the following disclaimer.
171.4Sagc * 2. Redistributions in binary form must reproduce the above copyright
181.4Sagc *    notice, this list of conditions and the following disclaimer in the
191.4Sagc *    documentation and/or other materials provided with the distribution.
201.4Sagc * 3. Neither the name of the University nor the names of its contributors
211.4Sagc *    may be used to endorse or promote products derived from this software
221.4Sagc *    without specific prior written permission.
231.4Sagc *
241.4Sagc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
251.4Sagc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
261.4Sagc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
271.4Sagc * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
281.4Sagc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
291.4Sagc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
301.4Sagc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
311.4Sagc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
321.4Sagc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
331.4Sagc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
341.4Sagc * SUCH DAMAGE.
351.4Sagc */
361.1Ssimonb
371.1Ssimonb#ifndef _EVBMIPS_PARAM_H_
381.1Ssimonb#define _EVBMIPS_PARAM_H_
391.1Ssimonb
401.1Ssimonb/*
411.1Ssimonb * Machine dependent constants for MIPS evaluation boards.
421.1Ssimonb */
431.1Ssimonb
441.1Ssimonb#define	_MACHINE	evbmips
451.1Ssimonb#define	MACHINE		"evbmips"
461.1Ssimonb
471.9Stsutsui#include <mips/mips_param.h>
481.9Stsutsui
491.1Ssimonb#define	DEV_BSIZE	512
501.1Ssimonb#define	DEV_BSHIFT	9		/* log2(DEV_BSIZE) */
511.1Ssimonb#define BLKDEV_IOSIZE	2048
521.1Ssimonb#define	MAXPHYS		(64 * 1024)	/* max raw I/O transfer size */
531.1Ssimonb
541.1Ssimonb#ifdef _KERNEL
551.1Ssimonb#ifndef _LOCORE
561.1Ssimonb
571.1Ssimonbvoid	delay(int n);
581.2Ssimonb#define	DELAY	 	delay
591.1Ssimonb
601.1Ssimonb#include <machine/intr.h>
611.1Ssimonb
621.1Ssimonb#endif	/* !_LOCORE */
631.1Ssimonb#endif	/* _KERNEL */
641.1Ssimonb
651.1Ssimonb#endif	/* !_EVBMIPS_PARAM_H_ */
66