Subject: CVS commit: src/sys/dev/ata
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 06/22/2004 19:20:14
Module Name:	src
Committed By:	mycroft
Date:		Tue Jun 22 19:20:14 UTC 2004

Modified Files:
	src/sys/dev/ata: ata_wdc.c wd.c

Log Message:
Do not force ATA_SINGLE on devices that don't support READ/WRITE MULTI.  We
just have to take an interrupt for each sector.
Tested with one laptop disk (which normally runs in DMA mode and was forced
to single-sector transfers) and 3 CF cards.  Increases the performance of
the CF cards substantially (760KB/s->1240KB/s in one case, 410KB/s->750KB/s
in the other two cases).


To generate a diff of this commit:
cvs rdiff -r1.55 -r1.56 src/sys/dev/ata/ata_wdc.c
cvs rdiff -r1.278 -r1.279 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.