Subject: PR/31083 CVS commit: [netbsd-2] src/sys/dev/ic
To: None <bouyer@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: netbsd-bugs
Date: 10/28/2005 01:39:02
The following reply was made to PR kern/31083; it has been noted by GNATS.
From: James Chacon <jmc@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/31083 CVS commit: [netbsd-2] src/sys/dev/ic
Date: Fri, 28 Oct 2005 01:38:58 +0000 (UTC)
Module Name: src
Committed By: jmc
Date: Fri Oct 28 01:38:58 UTC 2005
Modified Files:
src/sys/dev/ic [netbsd-2]: wdc.c
Log Message:
Pullup (via patch) requested by bouyer in ticket #5852
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. PR#31083
To generate a diff of this commit:
cvs rdiff -r1.172.2.7.2.10 -r1.172.2.7.2.11 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.