- 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:
parent
bd817f5f3d
commit
d24f30f51b
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user