summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/gsc/gscbusvar.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-17 21:54:26 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-17 21:54:26 +0000
commit7f33aa2f59d67ead13e253a82b4241d038e46a5d (patch)
tree0d8e42d725d944bbed37154b421ab258da5a95e6 /sys/arch/hppa/gsc/gscbusvar.h
parentc86b06b8c90928864da380972228aea593140be3 (diff)
real interrupts/spl framework.
tested on 712/* 715/100, 715/33 which main cpu/bus types. miod@ ok
Diffstat (limited to 'sys/arch/hppa/gsc/gscbusvar.h')
-rw-r--r--sys/arch/hppa/gsc/gscbusvar.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/arch/hppa/gsc/gscbusvar.h b/sys/arch/hppa/gsc/gscbusvar.h
index b6721abe5b4..5f7bac54ba2 100644
--- a/sys/arch/hppa/gsc/gscbusvar.h
+++ b/sys/arch/hppa/gsc/gscbusvar.h
@@ -1,7 +1,7 @@
-/* $OpenBSD: gscbusvar.h,v 1.7 2002/03/14 03:15:53 millert Exp $ */
+/* $OpenBSD: gscbusvar.h,v 1.8 2002/12/17 21:54:25 mickey Exp $ */
/*
- * Copyright (c) 1998 Michael Shalayeff
+ * Copyright (c) 1998-2002 Michael Shalayeff
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -33,11 +33,7 @@
struct gscbus_ic {
enum {gsc_unknown = 0, gsc_lasi, gsc_wax, gsc_asp} gsc_type;
void *gsc_dv;
-
- void (*gsc_intr_establish)(void *v, u_int32_t mask);
- void (*gsc_intr_disestablish)(void *v, u_int32_t mask);
- u_int32_t (*gsc_intr_check)(void *v);
- void (*gsc_intr_ack)(void *v, u_int32_t mask);
+ volatile void *gsc_base;
};
struct gsc_attach_args {
@@ -58,6 +54,8 @@ struct gscbus_intr {
int pri;
int (*handler)(void *);
void *arg;
+ void *softc;
+ void *cpuiv;
struct evcnt evcnt;
};