Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/dev g/c zssoftpending



details:   https://anonhg.NetBSD.org/src/rev/233152427c6e
branches:  trunk
changeset: 748542:233152427c6e
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Oct 26 19:55:11 2009 +0000

description:
g/c zssoftpending

diffstat:

 sys/arch/sparc64/dev/zs.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (44 lines):

diff -r cad45ce4055e -r 233152427c6e sys/arch/sparc64/dev/zs.c
--- a/sys/arch/sparc64/dev/zs.c Mon Oct 26 19:23:33 2009 +0000
+++ b/sys/arch/sparc64/dev/zs.c Mon Oct 26 19:55:11 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zs.c,v 1.68 2009/05/22 03:51:30 mrg Exp $      */
+/*     $NetBSD: zs.c,v 1.69 2009/10/26 19:55:11 martin Exp $   */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.68 2009/05/22 03:51:30 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs.c,v 1.69 2009/10/26 19:55:11 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -410,9 +410,6 @@
        return (UNCONF);
 }
 
-/* Deprecate this? */
-static volatile int zssoftpending;
-
 static int
 zshard(void *arg)
 {
@@ -428,7 +425,6 @@
        if (((zsc->zsc_cs[0] && zsc->zsc_cs[0]->cs_softreq) ||
             (zsc->zsc_cs[1] && zsc->zsc_cs[1]->cs_softreq)) &&
            zsc->zsc_softintr) {
-               zssoftpending = PIL_TTY;
                softint_schedule(zsc->zsc_softintr);
        }
        return (rval);
@@ -464,7 +460,6 @@
        /* Make sure we call the tty layer with tty_lock held. */
        mutex_spin_enter(&tty_lock);
 #endif
-       zssoftpending = 0;
        (void)zsc_intr_soft(zsc);
 #ifdef TTY_DEBUG
        {



Home | Main Index | Thread Index | Old Index