/*
* Arguments used to attach an ebus "device" to its parent
*/
struct ebus_dev_attach_args {
const char *ida_busname; /* XXX should be common */
bus_space_tag_t ida_memt;
int ida_ndevs;
struct ebus_attach_args *ida_devs;
};
/*
* Arguments used to attach devices to an ebus
*/
struct ebus_attach_args {
const char *ia_name; /* device name */
int ia_cookie; /* device cookie */
uint32_t ia_paddr; /* device address (PHYSICAL) */
void *ia_vaddr; /* device address (VIRTUAL) */
int ia_basz; /* device size
(for min regset at probe, else 0) */
};