xref: /netbsd-src/sys/arch/mvme68k/dev/vme_pccvar.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: vme_pccvar.h,v 1.8 2008/04/28 20:23:29 martin Exp $	*/
29c745dbdSscw 
39c745dbdSscw /*-
49c745dbdSscw  * Copyright (c) 1999 The NetBSD Foundation, Inc.
59c745dbdSscw  * All rights reserved.
69c745dbdSscw  *
79c745dbdSscw  * This code is derived from software contributed to The NetBSD Foundation
89c745dbdSscw  * by Steve C. Woodford.
99c745dbdSscw  *
109c745dbdSscw  * Redistribution and use in source and binary forms, with or without
119c745dbdSscw  * modification, are permitted provided that the following conditions
129c745dbdSscw  * are met:
139c745dbdSscw  * 1. Redistributions of source code must retain the above copyright
149c745dbdSscw  *    notice, this list of conditions and the following disclaimer.
159c745dbdSscw  * 2. Redistributions in binary form must reproduce the above copyright
169c745dbdSscw  *    notice, this list of conditions and the following disclaimer in the
179c745dbdSscw  *    documentation and/or other materials provided with the distribution.
189c745dbdSscw  *
199c745dbdSscw  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
209c745dbdSscw  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
219c745dbdSscw  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
229c745dbdSscw  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
239c745dbdSscw  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
249c745dbdSscw  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
259c745dbdSscw  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
269c745dbdSscw  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
279c745dbdSscw  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
289c745dbdSscw  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
299c745dbdSscw  * POSSIBILITY OF SUCH DAMAGE.
309c745dbdSscw  */
319c745dbdSscw 
329c745dbdSscw #ifndef _MVME68K_VME_PCCVAR_H
339c745dbdSscw #define _MVME68K_VME_PCCVAR_H
349c745dbdSscw 
3572f826d7Sscw #define VME1_SLAVE_OFFBOARD_RAM	0
3672f826d7Sscw #define VME1_SLAVE_A32		1
3772f826d7Sscw #define VME1_SLAVE_A24		2
3872f826d7Sscw #define VME1_SLAVE_A16		3
3972f826d7Sscw #define VME1_NSLAVES		4
403cac59eeSscw 
419c745dbdSscw struct vme_pcc_softc {
42b77bc217Sscw 	struct mvmebus_softc	sc_mvmebus;
439c745dbdSscw 	bus_space_handle_t	sc_bush;
443cac59eeSscw 	struct mvmebus_range	sc_slave[VME1_NSLAVES];
459c745dbdSscw };
469c745dbdSscw 
479c745dbdSscw #endif /* __MVME68K_VME_PCCVAR_H */
48