From df9cb44ea9a312f59b0e0b541c1252799a6096b1 Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 14 Mar 2008 08:23:51 +0000 Subject: [PATCH] Remove a tty_lock for now - I know that this is wrong, but the whole tty subsystem locking is not consistent and Andrew didn't have time to come up (or guide to) the right fix. This prevents machines with serial console on zs(4) from deadlocking on first input. --- sys/dev/ic/z8530tty.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/ic/z8530tty.c b/sys/dev/ic/z8530tty.c index 191629e3f3c4..099160efbd03 100644 --- a/sys/dev/ic/z8530tty.c +++ b/sys/dev/ic/z8530tty.c @@ -1,4 +1,4 @@ -/* $NetBSD: z8530tty.c,v 1.120 2008/01/20 18:09:11 joerg Exp $ */ +/* $NetBSD: z8530tty.c,v 1.121 2008/03/14 08:23:51 martin Exp $ */ /*- * Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999 @@ -137,7 +137,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: z8530tty.c,v 1.120 2008/01/20 18:09:11 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: z8530tty.c,v 1.121 2008/03/14 08:23:51 martin Exp $"); #include "opt_kgdb.h" #include "opt_ntp.h" @@ -1719,9 +1719,7 @@ zstty_softint(cs) struct zs_chanstate *cs; { - mutex_spin_enter(&tty_lock); zstty_softint1(cs); - mutex_spin_exit(&tty_lock); } static void