Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/newsmips Rename apbus_intr_call() -> apbus_intr_dis...



details:   https://anonhg.NetBSD.org/src/rev/a5236bb04985
branches:  trunk
changeset: 546974:a5236bb04985
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat May 10 10:19:59 2003 +0000

description:
Rename apbus_intr_call() -> apbus_intr_dispatch().

diffstat:

 sys/arch/newsmips/apbus/apbus.c       |  4 ++--
 sys/arch/newsmips/apbus/apbusvar.h    |  4 ++--
 sys/arch/newsmips/newsmips/news5000.c |  6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 0001052e4402 -r a5236bb04985 sys/arch/newsmips/apbus/apbus.c
--- a/sys/arch/newsmips/apbus/apbus.c   Sat May 10 09:46:24 2003 +0000
+++ b/sys/arch/newsmips/apbus/apbus.c   Sat May 10 10:19:59 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: apbus.c,v 1.15 2003/05/10 09:46:24 tsutsui Exp $       */
+/*     $NetBSD: apbus.c,v 1.16 2003/05/10 10:19:59 tsutsui Exp $       */
 
 /*-
  * Copyright (C) 1999 SHIMIZU Ryo.  All rights reserved.
@@ -193,7 +193,7 @@
  * called by hardware interrupt routine
  */
 int
-apbus_intr_call(level, stat)
+apbus_intr_dispatch(level, stat)
        int level;
        int stat;
 {
diff -r 0001052e4402 -r a5236bb04985 sys/arch/newsmips/apbus/apbusvar.h
--- a/sys/arch/newsmips/apbus/apbusvar.h        Sat May 10 09:46:24 2003 +0000
+++ b/sys/arch/newsmips/apbus/apbusvar.h        Sat May 10 10:19:59 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: apbusvar.h,v 1.3 2000/10/12 03:12:01 onoe Exp $        */
+/*     $NetBSD: apbusvar.h,v 1.4 2003/05/10 10:20:00 tsutsui Exp $     */
 
 /*-
  * Copyright (C) 1999 SHIMIZU Ryo.  All rights reserved.
@@ -43,7 +43,7 @@
 struct apbus_dev *apbus_lookupdev __P((char *));
 void apdevice_dump __P((struct apbus_dev *));
 void apbus_intr_init __P((void));
-int apbus_intr_call __P((int, int));
+int apbus_intr_dispatch __P((int, int));
 void *apbus_intr_establish __P((int, int, int, int (*)(void *), void *,
                                char *, int));
 struct newsmips_bus_dma_tag *apbus_dmatag_init
diff -r 0001052e4402 -r a5236bb04985 sys/arch/newsmips/newsmips/news5000.c
--- a/sys/arch/newsmips/newsmips/news5000.c     Sat May 10 09:46:24 2003 +0000
+++ b/sys/arch/newsmips/newsmips/news5000.c     Sat May 10 10:19:59 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: news5000.c,v 1.9 2003/04/26 18:50:19 tsutsui Exp $     */
+/*     $NetBSD: news5000.c,v 1.10 2003/05/10 10:20:00 tsutsui Exp $    */
 
 /*-
  * Copyright (C) 1999 SHIMIZU Ryo.  All rights reserved.
@@ -161,7 +161,7 @@
        int1stat = *(volatile u_int *)NEWS5000_INTST1;
 
        if (int1stat) {
-               if (apbus_intr_call(1, int1stat) == 0)
+               if (apbus_intr_dispatch(1, int1stat) == 0)
                        printf("level1_intr: no handler (mask 0x%04x)\n",
                               int1stat);
        } else
@@ -176,7 +176,7 @@
        int0stat = *(volatile u_int *)NEWS5000_INTST0;
 
        if (int0stat) {
-               if (apbus_intr_call(0, int0stat) == 0)
+               if (apbus_intr_dispatch(0, int0stat) == 0)
                        printf("level0_intr: no handler (mask 0x%04x)\n",
                               int0stat);
        } else



Home | Main Index | Thread Index | Old Index