Subject: CVS commit: src/sys/dev/ata
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 11/18/2004 22:14:53
Module Name: src
Committed By: bouyer
Date: Thu Nov 18 22:14:53 UTC 2004
Modified Files:
src/sys/dev/ata: wd.c
Log Message:
Some drives reports ATA version < 4, and still support (and need) the
WDCC_FLUSHCACHE command. So for drive < ATA4, test WDC_CMD2_FC in atap_cmd_set2
before returning ENODEV.
Problem reported and fix tested by Michael Gerhards on port-sparc64.
To generate a diff of this commit:
cvs rdiff -r1.296 -r1.297 src/sys/dev/ata/wd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.