xref: /netbsd-src/sys/arch/hpcmips/vr/dmaaureg.h (revision 67ea0086c36b90bd208e6bbd020b50bf45b75aac)
1*67ea0086Ssato /*	$NetBSD: dmaaureg.h,v 1.2 2001/01/19 11:42:21 sato Exp $	*/
2db2b0adeStakemura 
3db2b0adeStakemura /*-
4*67ea0086Ssato  * Copyright (c) 1999,2000,2001 SATO Kazumi. All rights reserved.
5db2b0adeStakemura  * Copyright (c) 1999 PocketBSD Project. All rights reserved.
6db2b0adeStakemura  *
7db2b0adeStakemura  * Redistribution and use in source and binary forms, with or without
8db2b0adeStakemura  * modification, are permitted provided that the following conditions
9db2b0adeStakemura  * are met:
10db2b0adeStakemura  * 1. Redistributions of source code must retain the above copyright
11db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer.
12db2b0adeStakemura  * 2. Redistributions in binary form must reproduce the above copyright
13db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer in the
14db2b0adeStakemura  *    documentation and/or other materials provided with the distribution.
15db2b0adeStakemura  * 3. All advertising materials mentioning features or use of this software
16db2b0adeStakemura  *    must display the following acknowledgement:
17db2b0adeStakemura  *	This product includes software developed by the PocketBSD project
18db2b0adeStakemura  *	and its contributors.
19db2b0adeStakemura  * 4. Neither the name of the project nor the names of its contributors
20db2b0adeStakemura  *    may be used to endorse or promote products derived from this software
21db2b0adeStakemura  *    without specific prior written permission.
22db2b0adeStakemura  *
23db2b0adeStakemura  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24db2b0adeStakemura  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25db2b0adeStakemura  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26db2b0adeStakemura  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27db2b0adeStakemura  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28db2b0adeStakemura  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29db2b0adeStakemura  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30db2b0adeStakemura  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31db2b0adeStakemura  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32db2b0adeStakemura  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33db2b0adeStakemura  * SUCH DAMAGE.
34db2b0adeStakemura  *
35db2b0adeStakemura  */
36db2b0adeStakemura 
37db2b0adeStakemura /*
38db2b0adeStakemura  *	DMAAU (DMA Address UNIT) Registers.
39db2b0adeStakemura  *		start 0x0B000020
40db2b0adeStakemura  */
41db2b0adeStakemura #define	AIUIBAL_REG_W		0x000		/* AIU IN DMA Base Low */
42db2b0adeStakemura #define	AIUIBAH_REG_W		0x002		/* AIU IN DMA Base High */
43db2b0adeStakemura 
44db2b0adeStakemura 
45db2b0adeStakemura #define	AIUIAL_REG_W		0x004		/* AIU IN DMA Address Low */
46db2b0adeStakemura #define	AIUIAH_REG_W		0x006		/* AIU IN DMA Address High */
47db2b0adeStakemura 
48db2b0adeStakemura 
49db2b0adeStakemura #define	AIUOBAL_REG_W		0x008		/* AIU OUT DMA Base Low */
50db2b0adeStakemura #define	AIUOBAH_REG_W		0x00A		/* AIU OUT DMA Base High */
51db2b0adeStakemura 
52db2b0adeStakemura 
53db2b0adeStakemura #define	AIUOAL_REG_W		0x00C		/* AIU OUT DMA Address Low */
54db2b0adeStakemura #define	AIUOAH_REG_W		0x00E		/* AIU OUT DMA Address High */
55db2b0adeStakemura 
56db2b0adeStakemura 
57db2b0adeStakemura #define	FIRBAL_REG_W		0x010		/* FIU DMA Base Low */
58*67ea0086Ssato #define	FIRBAH_REG_W		0x012		/* FIU DMA Base High */
59db2b0adeStakemura 
60db2b0adeStakemura 
61db2b0adeStakemura #define	FIRAL_REG_W		0x014		/* FIU DMA Address Low */
62*67ea0086Ssato #define	FIRAH_REG_W		0x016		/* FIU DMA Address High */
63db2b0adeStakemura 
64db2b0adeStakemura /* END dmaaureg.h */
65