Module Name: src Committed By: riz Date: Thu Mar 22 22:58:24 UTC 2012
Modified Files: src/sys/dev/ic [netbsd-6]: mfi.c Log Message: Pull up following revision(s) (requested by sborrill in ticket #136): sys/dev/ic/mfi.c: revision 1.37 >From OpenBSD. Fixes a deadlock during autoconf. scrub more fields in the ccb when returning them to the free list after theyve been used, in particular the mfi header flags which has a bit that specifies if a command should be completed via the interrupt path. if we use a ccb during boot we set that bit, but it isnt necessarily cleared by things that use it later on. this means a ccb we expected to complete via an interrupt never actually generates an interrupt or appears in the reply queue. this obviously stalls the io. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.36.8.1 src/sys/dev/ic/mfi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.