Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 08/11/2004 17:49:27
Module Name:	src
Committed By:	mycroft
Date:		Wed Aug 11 17:49:27 UTC 2004

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

Log Message:
Add two helper functions -- wdc_datain_pio() and wdc_dataout_pio() -- which
encapsulate the logic for the various methods of transferring data.  Use these
throughout.


To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 src/sys/dev/ata/ata_wdc.c
cvs rdiff -r1.47 -r1.48 src/sys/dev/ata/atavar.h
cvs rdiff -r1.189 -r1.190 src/sys/dev/ic/wdc.c
cvs rdiff -r1.62 -r1.63 src/sys/dev/ic/wdcvar.h
cvs rdiff -r1.74 -r1.75 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.