diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-01-04 05:19:27 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-01-04 05:19:27 +0000 |
commit | 945b15d842d3620e042ad2ba86ca5b90b19a8592 (patch) | |
tree | cf108b72939122695518eb9eb99d01b2d8f5bc96 /sys/arch/sparc64 | |
parent | 40150489d78bf38fbba62e3e105082948561d924 (diff) |
expose sbus_bus_addr() so cgsix actually compiles (oops)
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/sbus.c | 3 | ||||
-rw-r--r-- | sys/arch/sparc64/dev/sbusvar.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/sbus.c b/sys/arch/sparc64/dev/sbus.c index a9e893481b5..652c414b5bd 100644 --- a/sys/arch/sparc64/dev/sbus.c +++ b/sys/arch/sparc64/dev/sbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sbus.c,v 1.7 2001/10/15 03:36:16 jason Exp $ */ +/* $OpenBSD: sbus.c,v 1.8 2002/01/04 05:19:25 jason Exp $ */ /* $NetBSD: sbus.c,v 1.46 2001/10/07 20:30:41 eeh Exp $ */ /*- @@ -144,7 +144,6 @@ static int sbus_get_intr __P((struct sbus_softc *, int, struct sbus_intr **, int *, int)); int sbus_bus_mmap __P((bus_space_tag_t, bus_type_t, bus_addr_t, int, bus_space_handle_t *)); -bus_addr_t sbus_bus_addr __P((bus_space_tag_t, u_int, u_int)); static int sbus_overtemp __P((void *)); static int _sbus_bus_map __P(( bus_space_tag_t, diff --git a/sys/arch/sparc64/dev/sbusvar.h b/sys/arch/sparc64/dev/sbusvar.h index 4df3118e7c4..f00e6b1d03a 100644 --- a/sys/arch/sparc64/dev/sbusvar.h +++ b/sys/arch/sparc64/dev/sbusvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sbusvar.h,v 1.2 2001/08/18 21:30:00 jason Exp $ */ +/* $OpenBSD: sbusvar.h,v 1.3 2002/01/04 05:19:26 jason Exp $ */ /* $NetBSD: sbusvar.h,v 1.7 1999/06/05 05:30:43 mrg Exp $ */ /*- @@ -115,4 +115,6 @@ struct sbus_softc { struct iommu_state sc_is; /* IOMMU state, see iommureg.h */ }; +bus_addr_t sbus_bus_addr __P((bus_space_tag_t, u_int, u_int)); + #endif /* _SBUS_VAR_SPARC64_H_ */ |