Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ia64 Add intr_establish_xname stub



details:   https://anonhg.NetBSD.org/src/rev/bfdcfa181e7b
branches:  trunk
changeset: 837025:bfdcfa181e7b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Fri Nov 16 19:46:52 2018 +0000

description:
Add intr_establish_xname stub

diffstat:

 sys/arch/ia64/ia64/interrupt.c |  12 ++++++++++--
 sys/arch/ia64/include/intr.h   |   3 ++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 38713c89ff64 -r bfdcfa181e7b sys/arch/ia64/ia64/interrupt.c
--- a/sys/arch/ia64/ia64/interrupt.c    Fri Nov 16 19:32:01 2018 +0000
+++ b/sys/arch/ia64/ia64/interrupt.c    Fri Nov 16 19:46:52 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: interrupt.c,v 1.8 2017/12/13 16:50:46 scole Exp $ */
+/* $NetBSD: interrupt.c,v 1.9 2018/11/16 19:46:52 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.8 2017/12/13 16:50:46 scole Exp $");
+__KERNEL_RCSID(0, "$NetBSD: interrupt.c,v 1.9 2018/11/16 19:46:52 jmcneill Exp $");
 
 #include "opt_ddb.h"
 
@@ -256,6 +256,14 @@
 #endif
 
 void *
+intr_establish_xname(int irq, int type, int level, int (*func)(void *),
+    void *arg, const char *xname)
+{
+       /* TODO: xname support */
+       return intr_establish(irq, type, level, func, arg);
+}
+
+void *
 intr_establish(int irq, int type, int level, int (*func)(void *), void *arg)
 {
        struct ia64_intr *i;
diff -r 38713c89ff64 -r bfdcfa181e7b sys/arch/ia64/include/intr.h
--- a/sys/arch/ia64/include/intr.h      Fri Nov 16 19:32:01 2018 +0000
+++ b/sys/arch/ia64/include/intr.h      Fri Nov 16 19:46:52 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.7 2017/12/13 16:50:46 scole Exp $   */
+/*     $NetBSD: intr.h,v 1.8 2018/11/16 19:46:52 jmcneill Exp $        */
 
 /* XXX: cherry: To Be fixed when we switch on interrupts. */
 
@@ -72,6 +72,7 @@
 const char *intr_string(intr_handle_t, char *, size_t);
 
 void *intr_establish(int, int, int, int (*)(void *), void *);
+void *intr_establish_xname(int, int, int, int (*)(void *), void *, const char *);
 void intr_disestablish(void *);
 void ia64_handle_intr(void *);
 



Home | Main Index | Thread Index | Old Index