Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 08/04/2004 22:44:04
Module Name: src
Committed By: bouyer
Date: Wed Aug 4 22:44:04 UTC 2004
Modified Files:
src/sys/dev/ata: ata.c ata_wdc.c atavar.h wd.c
src/sys/dev/ic: wdc.c wdcvar.h
src/sys/dev/scsipi: atapi_wdc.c
Log Message:
Change wdc_kill_pending() to take a struct ata_drive_datas * as argument,
and kill only pending requests for this drive.
Implement a DRIVE_WAITDRAIN flag, which will cause the active command to
be killed once complete.
Other minor fixes.
Now it's possible to detach a ATA or ATAPI device from ioctl even when
a dd on the raw char partition is running.
To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/sys/dev/ata/ata.c
cvs rdiff -r1.60 -r1.61 src/sys/dev/ata/ata_wdc.c
cvs rdiff -r1.46 -r1.47 src/sys/dev/ata/atavar.h
cvs rdiff -r1.284 -r1.285 src/sys/dev/ata/wd.c
cvs rdiff -r1.186 -r1.187 src/sys/dev/ic/wdc.c
cvs rdiff -r1.61 -r1.62 src/sys/dev/ic/wdcvar.h
cvs rdiff -r1.73 -r1.74 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.