aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/include/intr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/include/intr.h')
-rw-r--r--sys/alpha/include/intr.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/sys/alpha/include/intr.h b/sys/alpha/include/intr.h
index 79af6fd9fa6d..3f4c79dcd62d 100644
--- a/sys/alpha/include/intr.h
+++ b/sys/alpha/include/intr.h
@@ -23,24 +23,15 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: intr.h,v 1.2 1998/07/12 16:09:30 dfr Exp $
+ * $Id: intr.h,v 1.3 1998/08/10 07:53:58 dfr Exp $
*/
#ifndef _MACHINE_INTR_H_
#define _MACHINE_INTR_H_
-LIST_HEAD(alpha_intr_list, alpha_intr);
-
-struct alpha_intr {
- LIST_ENTRY(alpha_intr) list; /* chain handlers in this hash bucket */
- int vector; /* vector to match */
- driver_intr_t *intr; /* handler function */
- void *arg; /* argument to handler */
-};
-
-struct alpha_intr *alpha_create_intr(int vector,
- driver_intr_t *intr, void *arg);
-int alpha_connect_intr(struct alpha_intr *i);
+int alpha_setup_intr(int vector, driver_intr_t *intr, void *arg,
+ void **cookiep);
+int alpha_teardown_intr(void *cookie);
void alpha_dispatch_intr(void *frame, unsigned long vector);
#endif /* !_MACHINE_INTR_H_ */