Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / pmax / ibus / ibusvar.h
blob0ce0386d9cfabc36ff920f7fba711925de8f4dba
1 /* $NetBSD: ibusvar.h,v 1.17 2007/03/04 06:00:33 christos Exp $ */
3 #ifndef _PMAX_IBUS_IBUSVAR_H_
4 #define _PMAX_IBUS_IBUSVAR_H_
6 #include <machine/bus.h>
8 struct ibus_attach_args;
10 struct ibus_softc {
11 struct device sc_dev;
15 * Arguments used to attach an ibus "device" to its parent
17 struct ibus_dev_attach_args {
18 const char *ida_busname; /* XXX should be common */
19 bus_space_tag_t ida_memt;
21 int ida_ndevs;
22 struct ibus_attach_args *ida_devs;
26 * Arguments used to attach devices to an ibus
28 struct ibus_attach_args {
29 const char *ia_name; /* device name */
30 int ia_cookie; /* device cookie */
31 u_int32_t ia_addr; /* device address (KSEG1) */
32 int ia_basz; /* badaddr() size */
35 void ibusattach(struct device *, struct device *, void *);
36 int ibusprint(void *, const char *);
37 void ibus_intr_establish(struct device *, void *cookie, int level,
38 int (*handler)(void *), void *arg);
40 #endif /* !_PMAX_IBUS_IBUSVAR_H_ */