summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/fhcvar.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2004-09-28 18:37:44 +0000
committerJason Wright <jason@cvs.openbsd.org>2004-09-28 18:37:44 +0000
commit6606924480109f0edf7e986b0d8a009ee711835e (patch)
tree42b7cf956c36ff6882565941c36feffd6f449833 /sys/arch/sparc64/dev/fhcvar.h
parent1b01d32bc8fc3e400f0de578f43f9a5b67acb19b (diff)
use prom mappings when availavk
Diffstat (limited to 'sys/arch/sparc64/dev/fhcvar.h')
-rw-r--r--sys/arch/sparc64/dev/fhcvar.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/sparc64/dev/fhcvar.h b/sys/arch/sparc64/dev/fhcvar.h
index ed2eb90a582..2e2eb92e51a 100644
--- a/sys/arch/sparc64/dev/fhcvar.h
+++ b/sys/arch/sparc64/dev/fhcvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fhcvar.h,v 1.6 2004/09/27 21:12:40 jason Exp $ */
+/* $OpenBSD: fhcvar.h,v 1.7 2004/09/28 18:37:43 jason Exp $ */
/*
* Copyright (c) 2004 Jason L. Wright (jason@thought.net).
@@ -63,13 +63,15 @@ void fhc_attach(struct fhc_softc *);
int fhc_get_string(int, char *, char **);
struct fhc_attach_args {
+ bus_space_tag_t fa_bustag;
char *fa_name;
+ int *fa_intr;
+ struct fhc_reg *fa_reg;
+ u_int32_t *fa_promvaddrs;
int fa_node;
int fa_nreg;
int fa_nintr;
- int *fa_intr;
- struct fhc_reg *fa_reg;
- bus_space_tag_t fa_bustag;
+ int fa_npromvaddrs;
};
#define fhc_bus_map(t, slot, offset, sz, flags, hp) \