Date: Sun, 6 Jun 2010 14:09:48 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ata ata-all.h ata-lowlevel.c src/sys/dev/ata/chipsets ata-serverworks.c Message-ID: <201006061410.o56EAEIi085035@repoman.freebsd.org>
index | next in thread | raw e-mail
nwhitehorn 2010-06-06 14:09:48 UTC
FreeBSD src repository
Modified files:
sys/dev/ata ata-all.h ata-lowlevel.c
sys/dev/ata/chipsets ata-serverworks.c
Log:
SVN rev 208870 on 2010-06-06 14:09:48Z by nwhitehorn
Some revisions of the Serverworks K2 SATA controller have a data
corruption bug where if an ATA command is issued before DMA is started,
data will become available to the controller before it knows what to do
with it. This results in either data corruption or a controller crash.
This patch remedies the problem by adopting the workaround employed
by Linux and Darwin: starting the DMA engine prior to sending the ATA
command.
Observer on: Xserve G5
Reviewed by: mav
MFC after: 1 week
Revision Changes Path
1.154 +1 -0 src/sys/dev/ata/ata-all.h
1.87 +10 -1 src/sys/dev/ata/ata-lowlevel.c
1.14 +10 -0 src/sys/dev/ata/chipsets/ata-serverworks.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006061410.o56EAEIi085035>
