#ifndef _EMIPS_EBUS_EBUSVAR_H_
#define _EMIPS_EBUS_EBUSVAR_H_
#include <machine/bus.h>
struct ebus_attach_args;
struct ebus_dev_attach_args {
const char *ida_busname;
bus_space_tag_t ida_memt;
int ida_ndevs;
struct ebus_attach_args *ida_devs;
};
struct ebus_attach_args {
const char *ia_name;
int ia_cookie;
uint32_t ia_paddr;
void *ia_vaddr;
int ia_basz;
};
void ebusattach(device_t , device_t , void *);
int ebusprint(void *, const char *);
void ebus_intr_establish(device_t , void *, int,
int (*)(void *, void *), void *);
#endif