- 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?)
This commit is contained in:
tsutsui 2011-06-12 03:57:09 +00:00
parent bd817f5f3d
commit d24f30f51b
1 changed files with 11 additions and 10 deletions

View File

@ -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_
@ -28,14 +28,15 @@ struct ebus_dev_attach_args {
struct ebus_attach_args {
const char *ia_name; /* device name */
int ia_cookie; /* device cookie */
u_int32_t ia_paddr; /* device address (PHYSICAL) */
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) */
int ia_basz; /* device size
(for min regset at probe, else 0) */
};
void ebusattach (struct device *, struct device *, void *);
void ebusattach(device_t , device_t , void *);
int ebusprint(void *, const char *);
void ebus_intr_establish (struct device *, void * cookie, int level,
int (*handler)(void *, void *), void *arg);
void ebus_intr_establish(device_t , void *, int,
int (*)(void *, void *), void *);
#endif /* !_EMIPS_EBUS_EBUSVAR_H_ */