Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 08/29/2005 19:30:07
Module Name: src
Committed By: bouyer
Date: Mon Aug 29 19:30:07 UTC 2005
Modified Files:
src/sys/dev/ic: wdc.c
Log Message:
In __wdccommand_start(), don't cann wdcwait() with ata_c->flags, as this gives
information about the context in which wdc_exec_command() was called, but
we may be in interrupt context here. Call wdcwait() with flags derived from
xfer->c_flags instead, as do other wdcwait() callers.
Should fix kern/31083 by Jukka Salmi.
To generate a diff of this commit:
cvs rdiff -r1.229 -r1.230 src/sys/dev/ic/wdc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.