Module Name: src Committed By: tsutsui Date: Sun Jun 12 03:57:09 UTC 2011
Modified Files: src/sys/arch/emips/ebus: ebusvar.h Log Message: - KNF, remove arg names in prototype decls - use device_t and cfdata_t - use uint32_t rather than u_int32_t (XXX should be paddr_t here?) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/emips/ebus/ebusvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/emips/ebus/ebusvar.h diff -u src/sys/arch/emips/ebus/ebusvar.h:1.1 src/sys/arch/emips/ebus/ebusvar.h:1.2 --- src/sys/arch/emips/ebus/ebusvar.h:1.1 Wed Jan 26 01:18:50 2011 +++ src/sys/arch/emips/ebus/ebusvar.h Sun Jun 12 03:57:09 2011 @@ -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 @@ * 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_ */