Subject: Re: CVS commit: src/sys/dev/ic
To: Andrew Doran <ad@netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: tech-kern
Date: 11/12/2007 16:20:53
On Sat, Nov 10, 2007 at 06:07:53PM +0000, Andrew Doran wrote:
> 
> Module Name:	src
> Committed By:	ad
> Date:		Sat Nov 10 18:07:53 UTC 2007
> 
> Modified Files:
> 	src/sys/dev/ic: z8530tty.c
> 
> Log Message:
> zsstart, zstty_txsoft: don't acquire tty_lock, it's already held.

Sorry, this still does not work at all. A sun (serial) keyboard attached
to zs locks against itself in zsopen (->zsparam ->zstty_softint), and
if I work around that, it locks against itself on first keypress:

 sunkbd_write_data
 kbd_sun_start_tx
 sunkbdstart
 zstty_softint

Martin