Subject: CVS commit: syssrc
To: None <>
From: Manuel BOUYER <>
List: source-changes
Date: 01/16/2000 16:01:01
Module Name:	syssrc
Committed By:	bouyer
Date:		Mon Jan 17 00:01:01 UTC 2000

Modified Files:
	syssrc/sys/dev/ata: ata.c ata_wdc.c atavar.h
	syssrc/sys/dev/ic: wdc.c
	syssrc/sys/dev/scsipi: atapi_wdc.c

Log Message:
Improve the downgrade logic:
- If UDMA 2 is failing try UDMA 1 first, it helps in some cases
- downgrade if we get an error in the first 4000 xfers, or if we get
  4 errors in 4000 xfers if the first 4000 went without troubles.

While I'm there commit a local change I have since some time to get my CD
probed: issue a "blanck" IDENTIFY before the one used to detect slave ghosts,
with my drive the first IDENTIFY following a controller reset fails with an
aborted command ...

To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 syssrc/sys/dev/ata/ata.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/dev/ata/ata_wdc.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/dev/ata/atavar.h
cvs rdiff -r1.77 -r1.78 syssrc/sys/dev/ic/wdc.c
cvs rdiff -r1.29 -r1.30 syssrc/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.