Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Matthew Jacob <mjacob@netbsd.org>
List: source-changes
Date: 08/07/2003 01:10:54
Module Name:	src
Committed By:	mjacob
Date:		Thu Aug  7 01:10:54 UTC 2003

Modified Files:
	src/sys/dev/ic: isp_netbsd.c

Log Message:
Note both active and nvram WWNN/WWPNs

Fix the bug where the thread worker constantly looped. It was a race as
to whether or not the thread fired up or a polled/probed command happened
first, or maybe it's due to other scsipi changes, but we never set the
value that caused the fc thread worker to actually go to sleep until an
initial loop up.

This was rather ugly as it consumed nearly all CPU time available from thence
on. Bad.


To generate a diff of this commit:
cvs rdiff -r1.59 -r1.60 src/sys/dev/ic/isp_netbsd.c

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