Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 07/31/2004 21:26:44
Module Name: src
Committed By: bouyer
Date: Sat Jul 31 21:26:44 UTC 2004
Modified Files:
src/sys/dev/ata: ata_wdc.c atavar.h wd.c
src/sys/dev/ic: wdc.c
src/sys/dev/scsipi: atapi_wdc.c
Log Message:
Implement asynchronous channel reset.
Use this to reset the channel before doing a dump, instead of the hack in
wdc_exec_xfer() based on C_POLL. This hack was causing problems on
controllers with a shared queue, because we now can have C_POLL set during
concurent channels probes (problem found and analysed on sparc64 by
Martin Husemann).
This should even make core dumps marginally more reliable on ATA drives.
To generate a diff of this commit:
cvs rdiff -r1.57 -r1.58 src/sys/dev/ata/ata_wdc.c
cvs rdiff -r1.43 -r1.44 src/sys/dev/ata/atavar.h
cvs rdiff -r1.280 -r1.281 src/sys/dev/ata/wd.c
cvs rdiff -r1.181 -r1.182 src/sys/dev/ic/wdc.c
cvs rdiff -r1.70 -r1.71 src/sys/dev/scsipi/atapi_wdc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.