diff --git a/sys/arch/emips/ebus/ebusvar.h b/sys/arch/emips/ebus/ebusvar.h index 98b2af92f1ee..9de93c30f100 100644 --- a/sys/arch/emips/ebus/ebusvar.h +++ b/sys/arch/emips/ebus/ebusvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: ebusvar.h,v 1.1 2011/01/26 01:18:50 pooka Exp $ */ +/* $NetBSD: ebusvar.h,v 1.2 2011/06/12 03:57:09 tsutsui Exp $ */ #ifndef _EMIPS_EBUS_EBUSVAR_H_ #define _EMIPS_EBUS_EBUSVAR_H_ @@ -26,16 +26,17 @@ struct ebus_dev_attach_args { * Arguments used to attach devices to an ebus */ struct ebus_attach_args { - const char *ia_name; /* device name */ - int ia_cookie; /* device cookie */ - u_int32_t ia_paddr; /* device address (PHYSICAL) */ - void *ia_vaddr; /* device address (VIRTUAL) */ - int ia_basz; /* device size (for min regset at probe, else 0) */ + 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) */ }; -void ebusattach (struct device *, struct device *, void *); -int ebusprint (void *, const char *); -void ebus_intr_establish (struct device *, void * cookie, int level, - int (*handler)(void *, void *), void *arg); +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 /* !_EMIPS_EBUS_EBUSVAR_H_ */