Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/newsmips Um, fix botch in previous.



details:   https://anonhg.NetBSD.org/src/rev/2ed21313cb78
branches:  trunk
changeset: 755872:2ed21313cb78
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Jun 26 03:49:52 2010 +0000

description:
Um, fix botch in previous.

diffstat:

 sys/arch/newsmips/apbus/zs_ap.c      |  7 ++++---
 sys/arch/newsmips/include/z8530var.h |  3 +--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 6d3477000661 -r 2ed21313cb78 sys/arch/newsmips/apbus/zs_ap.c
--- a/sys/arch/newsmips/apbus/zs_ap.c   Sat Jun 26 03:44:49 2010 +0000
+++ b/sys/arch/newsmips/apbus/zs_ap.c   Sat Jun 26 03:49:52 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zs_ap.c,v 1.26 2010/06/26 03:44:49 tsutsui Exp $       */
+/*     $NetBSD: zs_ap.c,v 1.27 2010/06/26 03:49:52 tsutsui Exp $       */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs_ap.c,v 1.26 2010/06/26 03:44:49 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs_ap.c,v 1.27 2010/06/26 03:49:52 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -296,7 +296,8 @@
        /*
         * Now safe to install interrupt handlers.
         */
-       zsc->zsc_si = softint_establish(SOFTINT_SERIAL, zssoft, zsc);
+       zsc->zsc_si = softint_establish(SOFTINT_SERIAL,
+           (void (*)(void *))zsc_intr_soft, zsc);
        apbus_intr_establish(1, /* interrupt level ( 0 or 1 ) */
            NEWS5000_INT1_SCC, 0, /* priority */
            zshard_ap, zsc, apa->apa_name, apa->apa_ctlnum);
diff -r 6d3477000661 -r 2ed21313cb78 sys/arch/newsmips/include/z8530var.h
--- a/sys/arch/newsmips/include/z8530var.h      Sat Jun 26 03:44:49 2010 +0000
+++ b/sys/arch/newsmips/include/z8530var.h      Sat Jun 26 03:49:52 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: z8530var.h,v 1.10 2008/03/29 19:15:35 tsutsui Exp $    */
+/*     $NetBSD: z8530var.h,v 1.11 2010/06/26 03:49:52 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1992, 1993
@@ -111,7 +111,6 @@
 
 int zs_print(void *, const char *);
 int zshard(void *);
-void zssoft(void*);
 int zs_get_speed(struct zs_chanstate *);
 void (*zs_delay)(void);
 



Home | Main Index | Thread Index | Old Index