1217309Snwhitehorn/* $NetBSD: mainbus.h,v 1.1 2024/01/20 21:36:00 jmcneill Exp $ */
2217309Snwhitehorn
3217309Snwhitehorn/*-
4217309Snwhitehorn * Copyright (c) 2024 Jared McNeill <jmcneill@invisible.ca>
5217309Snwhitehorn * All rights reserved.
6217309Snwhitehorn *
7217309Snwhitehorn * Redistribution and use in source and binary forms, with or without
8217309Snwhitehorn * modification, are permitted provided that the following conditions
9217309Snwhitehorn * are met:
10217309Snwhitehorn * 1. Redistributions of source code must retain the above copyright
11217309Snwhitehorn *    notice, this list of conditions and the following disclaimer.
12217309Snwhitehorn * 2. Redistributions in binary form must reproduce the above copyright
13217309Snwhitehorn *    notice, this list of conditions and the following disclaimer in the
14217309Snwhitehorn *    documentation and/or other materials provided with the distribution.
15217309Snwhitehorn *
16217309Snwhitehorn * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17217309Snwhitehorn * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18217309Snwhitehorn * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19217309Snwhitehorn * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20217309Snwhitehorn * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21217309Snwhitehorn * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22217309Snwhitehorn * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23217309Snwhitehorn * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24217309Snwhitehorn * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25217309Snwhitehorn * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26217309Snwhitehorn * SUCH DAMAGE.
27217309Snwhitehorn */
28217309Snwhitehorn
29#ifndef _WII_DEV_MAINBUS_H_
30#define _WII_DEV_MAINBUS_H_
31
32struct mainbus_attach_args {
33	const char *maa_name;
34	u_long maa_addr;
35	bus_space_tag_t maa_bst;
36	int maa_irq;
37	bus_dma_tag_t maa_dmat;
38};
39
40#endif /* _WII_DEV_MAINBUS_H_ */
41