Subject: CVS commit: [netbsd-4] src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 09/16/2007 15:29:06
Module Name:	src
Committed By:	xtraeme
Date:		Sun Sep 16 15:29:06 UTC 2007

Modified Files:
	src/sys/dev/ic [netbsd-4]: ahcisata_core.c ahcisatareg.h

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #882):
	sys/dev/ic/ahcisata_core.c: revision 1.5
	sys/dev/ic/ahcisatareg.h: revision 1.2

Fix various error handling bugs:
- the value of the ATA error register would be computed wrongly, leading to
  bogus error values reported to wd(4)
- the channel would not always be restarted after an error, so the next
  command would not be handled by the controller
- a timeout condition would not be properly reported to wd(4), leading
  to a short transfer instead of a reset/retry
these bugs would cause a AHCI SATA channel to be stalled (no more command
processed) after a "ID not found" or "Aborted command" error reported by the
drive.


To generate a diff of this commit:
cvs rdiff -r1.4.12.3 -r1.4.12.4 src/sys/dev/ic/ahcisata_core.c
cvs rdiff -r1.1.16.2 -r1.1.16.3 src/sys/dev/ic/ahcisatareg.h

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