auspivar.h revision 1.1.8.2 1 1.1.8.2 yamt /* $NetBSD: auspivar.h,v 1.1.8.2 2006/12/30 20:46:30 yamt Exp $ */
2 1.1.8.2 yamt
3 1.1.8.2 yamt /*-
4 1.1.8.2 yamt * Copyright (c) 2006 Urbana-Champaign Independent Media Center.
5 1.1.8.2 yamt * Copyright (c) 2006 Garrett D'Amore.
6 1.1.8.2 yamt * All rights reserved.
7 1.1.8.2 yamt *
8 1.1.8.2 yamt * Portions of this code were written by Garrett D'Amore for the
9 1.1.8.2 yamt * Champaign-Urbana Community Wireless Network Project.
10 1.1.8.2 yamt *
11 1.1.8.2 yamt * Redistribution and use in source and binary forms, with or
12 1.1.8.2 yamt * without modification, are permitted provided that the following
13 1.1.8.2 yamt * conditions are met:
14 1.1.8.2 yamt * 1. Redistributions of source code must retain the above copyright
15 1.1.8.2 yamt * notice, this list of conditions and the following disclaimer.
16 1.1.8.2 yamt * 2. Redistributions in binary form must reproduce the above
17 1.1.8.2 yamt * copyright notice, this list of conditions and the following
18 1.1.8.2 yamt * disclaimer in the documentation and/or other materials provided
19 1.1.8.2 yamt * with the distribution.
20 1.1.8.2 yamt * 3. All advertising materials mentioning features or use of this
21 1.1.8.2 yamt * software must display the following acknowledgements:
22 1.1.8.2 yamt * This product includes software developed by the Urbana-Champaign
23 1.1.8.2 yamt * Independent Media Center.
24 1.1.8.2 yamt * This product includes software developed by Garrett D'Amore.
25 1.1.8.2 yamt * 4. Urbana-Champaign Independent Media Center's name and Garrett
26 1.1.8.2 yamt * D'Amore's name may not be used to endorse or promote products
27 1.1.8.2 yamt * derived from this software without specific prior written permission.
28 1.1.8.2 yamt *
29 1.1.8.2 yamt * THIS SOFTWARE IS PROVIDED BY THE URBANA-CHAMPAIGN INDEPENDENT
30 1.1.8.2 yamt * MEDIA CENTER AND GARRETT D'AMORE ``AS IS'' AND ANY EXPRESS OR
31 1.1.8.2 yamt * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
32 1.1.8.2 yamt * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
33 1.1.8.2 yamt * ARE DISCLAIMED. IN NO EVENT SHALL THE URBANA-CHAMPAIGN INDEPENDENT
34 1.1.8.2 yamt * MEDIA CENTER OR GARRETT D'AMORE BE LIABLE FOR ANY DIRECT, INDIRECT,
35 1.1.8.2 yamt * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
36 1.1.8.2 yamt * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
37 1.1.8.2 yamt * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
38 1.1.8.2 yamt * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 1.1.8.2 yamt * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
40 1.1.8.2 yamt * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
41 1.1.8.2 yamt * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42 1.1.8.2 yamt */
43 1.1.8.2 yamt
44 1.1.8.2 yamt #ifndef _MIPS_ALCHEMY_AUSPIVAR_H_
45 1.1.8.2 yamt #define _MIPS_ALCHEMY_AUSPIVAR_H_
46 1.1.8.2 yamt
47 1.1.8.2 yamt struct auspi_machdep {
48 1.1.8.2 yamt int am_nslaves;
49 1.1.8.2 yamt void *am_cookie;
50 1.1.8.2 yamt int (*am_select)(void *, int);
51 1.1.8.2 yamt };
52 1.1.8.2 yamt
53 1.1.8.2 yamt const struct auspi_machdep *auspi_machdep(bus_addr_t);
54 1.1.8.2 yamt
55 1.1.8.2 yamt #endif /* _MIPS_ALCHEMY_AUSPIVAR_H_ */
56