Subject: CVS commit: src/sys/dev
To: None <>
From: Manuel Bouyer <>
List: source-changes
Date: 08/06/2005 22:07:24
Module Name:	src
Committed By:	bouyer
Date:		Sat Aug  6 22:07:24 UTC 2005

Modified Files:
	src/sys/dev/ic: wdc.c wdcvar.h
	src/sys/dev/pci: aceride.c pciide_acer_reg.h

Log Message:
Add an optionnal controller callback for channel reset. If the callback
is set to NULL, use the generic reset code.
Use this to work around a bug in some Acer IDE controllers (like the
one found in some sparc systems) where a controller disable/enable
is required after a reset to avoid data corruption when Ultra-DMA is
used. Workaround from opensolaris, thanks to Hiroki Sato for testing.

To generate a diff of this commit:
cvs rdiff -r1.224 -r1.225 src/sys/dev/ic/wdc.c
cvs rdiff -r1.82 -r1.83 src/sys/dev/ic/wdcvar.h
cvs rdiff -r1.15 -r1.16 src/sys/dev/pci/aceride.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/pci/pciide_acer_reg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.