summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/bus.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/include/bus.h')
-rw-r--r--sys/arch/sparc64/include/bus.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/bus.h b/sys/arch/sparc64/include/bus.h
index e30b876c509..a86c87c0812 100644
--- a/sys/arch/sparc64/include/bus.h
+++ b/sys/arch/sparc64/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.15 2003/03/06 08:26:08 henric Exp $ */
+/* $OpenBSD: bus.h,v 1.16 2003/06/24 21:54:39 henric Exp $ */
/* $NetBSD: bus.h,v 1.31 2001/09/21 15:30:41 wiz Exp $ */
/*-
@@ -221,7 +221,8 @@ struct sparc_bus_space_tag {
void *(*sparc_intr_establish)(bus_space_tag_t,
bus_space_tag_t,
int, int, int,
- int (*)(void *), void *);
+ int (*)(void *), void *,
+ const char *);
};
@@ -282,7 +283,18 @@ void *bus_intr_establish(
see machine/intr.h*/
int, /*flags*/
int (*)(void *), /*handler*/
- void *); /*handler arg*/
+ void *, /*handler arg*/
+ const char *); /*what*/
+void *bus_intr_allocate(
+ bus_space_tag_t,
+ int (*)(void *), /*handler*/
+ void *, /*handler arg*/
+ int, /*number*/
+ int, /*pil*/
+ volatile u_int64_t *, /*map*/
+ volatile u_int64_t *, /*clr*/
+ const char *); /*what*/
+void bus_intr_free(void *);
void bus_space_render_tag(
bus_space_tag_t,
char *,