Subject: CVS commit: syssrc/sys/dev/ic
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 02/17/2002 21:24:19
Module Name:	syssrc
Committed By:	martin
Date:		Sun Feb 17 19:24:19 UTC 2002

Modified Files:
	syssrc/sys/dev/ic: wi.c

Log Message:
Protect calls to wi_cmd() from callout handlers by proper splnet()/splx()
pairs. Without this, the interrupt handler will steal the "command completed"
status and wi_cmd will busy loop until it times out.

Add some error output to make failure modes like this more prominent.

This should fix PR 14559.


To generate a diff of this commit:
cvs rdiff -r1.39 -r1.40 syssrc/sys/dev/ic/wi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.