xref: /netbsd-src/sys/arch/powerpc/ibm4xx/dev/comopbvar.h (revision 036ca983e1abf97288db3a17aaa05b95b89f664a)
1*036ca983Smatt /*	$NetBSD: comopbvar.h,v 1.3 2011/06/17 19:03:01 matt Exp $	*/
2d2306c8cSshige 
3d2306c8cSshige /*
4d2306c8cSshige  * Copyright (c) 2004 Shigeyuki Fukushima.
5d2306c8cSshige  * All rights reserved.
6d2306c8cSshige  *
7d2306c8cSshige  * Redistribution and use in source and binary forms, with or without
8d2306c8cSshige  * modification, are permitted provided that the following conditions
9d2306c8cSshige  * are met:
10d2306c8cSshige  * 1. Redistributions of source code must retain the above copyright
11d2306c8cSshige  *    notice, this list of conditions and the following disclaimer.
12d2306c8cSshige  * 2. Redistributions in binary form must reproduce the above
13d2306c8cSshige  *    copyright notice, this list of conditions and the following
14d2306c8cSshige  *    disclaimer in the documentation and/or other materials provided
15d2306c8cSshige  *    with the distribution.
16d2306c8cSshige  * 3. The name of the author may not be used to endorse or promote
17d2306c8cSshige  *    products derived from this software without specific prior
18d2306c8cSshige  *    written permission.
19d2306c8cSshige  *
20d2306c8cSshige  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
21d2306c8cSshige  * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22d2306c8cSshige  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23d2306c8cSshige  * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
24d2306c8cSshige  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25d2306c8cSshige  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
26d2306c8cSshige  * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27d2306c8cSshige  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28d2306c8cSshige  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29d2306c8cSshige  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30d2306c8cSshige  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31d2306c8cSshige  */
32d2306c8cSshige 
33d2306c8cSshige #ifndef __IBM4XX_COMOPBVAR_H__
34d2306c8cSshige #define __IBM4XX_COMOPBVAR_H__
35d2306c8cSshige 
36d2306c8cSshige #include <sys/param.h>
37d2306c8cSshige #include <sys/device.h>
38d2306c8cSshige 
39d2306c8cSshige extern void com_opb_cnattach(int, int, int, int);
40*036ca983Smatt extern void com_opb_device_register(device_t, int);
41d2306c8cSshige 
42d2306c8cSshige #endif	/* __IBM4XX_COMOPBVAR_H__ */
43