ka680.h revision 1.2
11.2Smatt/*	$NetBSD: ka680.h,v 1.2 2002/12/01 21:21:45 matt Exp $	*/
21.1Sragge/*
31.1Sragge * Copyright (c) 1998 Ludd, University of Lule}, Sweden.
41.1Sragge * All rights reserved.
51.1Sragge *
61.1Sragge * Redistribution and use in source and binary forms, with or without
71.1Sragge * modification, are permitted provided that the following conditions
81.1Sragge * are met:
91.1Sragge * 1. Redistributions of source code must retain the above copyright
101.1Sragge *    notice, this list of conditions and the following disclaimer.
111.1Sragge * 2. Redistributions in binary form must reproduce the above copyright
121.1Sragge *    notice, this list of conditions and the following disclaimer in the
131.1Sragge *    documentation and/or other materials provided with the distribution.
141.1Sragge * 3. All advertising materials mentioning features or use of this software
151.1Sragge *    must display the following acknowledgement:
161.1Sragge *      This product includes software developed at Ludd, University of
171.1Sragge *      Lule}, Sweden and its contributors.
181.1Sragge * 4. The name of the author may not be used to endorse or promote products
191.1Sragge *    derived from this software without specific prior written permission
201.1Sragge *
211.1Sragge * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
221.1Sragge * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
231.1Sragge * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
241.1Sragge * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
251.1Sragge * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
261.1Sragge * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
271.1Sragge * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
281.1Sragge * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
291.1Sragge * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
301.1Sragge * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
311.1Sragge */
321.1Sragge
331.1Sragge/* Done by Michael Kukat (michael@unixiron.org) */
341.1Sragge
351.1Sragge/*
361.1Sragge * KA675/680 (VAX4000/[45]00) specific definitions.
371.1Sragge */
381.1Sragge
391.2Smatt#ifndef _VAX_KA680_H_
401.2Smatt#define _VAX_KA680_H_
411.1Sragge
421.1Sragge/* IPR bits definitions */
431.1Sragge#define        PCSTS_FLUSH              4
441.1Sragge#define        PCSTS_ENABLE             2
451.1Sragge#define        PCTAG_PARITY    0x80000000
461.1Sragge#define        PCTAG_VALID              1
471.1Sragge
481.1Sragge/* memory addresses of interest */
491.1Sragge#define        KA680_INVFLT    0x20200000
501.1Sragge#define        KA680_INVFLTSZ  32768
511.1Sragge#define        KA680_CCR       0x23000000
521.1Sragge#define        KA680_TAGST     0x2d000000
531.1Sragge#define        KA680_TAGSZ     32768
541.1Sragge
551.1Sragge#define        CCR_CENA        0x00000001
561.1Sragge#define        CCR_SPECIO      0x00000010
571.1Sragge
581.1Sragge#define        KA680_BWF0      0x20080014
591.1Sragge#define        BWF0_FEN        0x01000000
601.1Sragge
611.2Smatt#endif /* _VAX_KA680_H_ */
62