freebsd-dev/sys/dev/ata
Nathan Whitehorn 351129c7bb 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
2010-06-06 14:09:48 +00:00
..
chipsets Some revisions of the Serverworks K2 SATA controller have a data 2010-06-06 14:09:48 +00:00
ata_if.m Make ata_getrev() an optional method by implementing ata_null_getrev(). 2010-01-20 14:29:55 +00:00
ata-all.c Improve suspend/resume support. Make sure controller is idle on suspend 2010-05-21 13:29:28 +00:00
ata-all.h Some revisions of the Serverworks K2 SATA controller have a data 2010-06-06 14:09:48 +00:00
ata-card.c Check the Disk FUNCE recorded in the CIS to see if we should probe for 2009-03-12 06:30:59 +00:00
ata-cbus.c Add type specific suspend/resume ata channel functions. Add checks to avoid 2009-03-09 20:48:57 +00:00
ata-disk.c Change ad_firmware_geom_adjust() to operate on a struct disk * only and 2010-05-20 12:46:19 +00:00
ata-disk.h Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
ata-dma.c MFp4: 2009-12-06 00:10:13 +00:00
ata-isa.c Add type specific suspend/resume ata channel functions. Add checks to avoid 2009-03-09 20:48:57 +00:00
ata-lowlevel.c Some revisions of the Serverworks K2 SATA controller have a data 2010-06-06 14:09:48 +00:00
ata-pci.c Report ATA/SATA channel number to NewBus at location string. 2010-05-22 07:32:47 +00:00
ata-pci.h Report ATA/SATA channel number to NewBus at location string. 2010-05-22 07:32:47 +00:00
ata-queue.c Mark ATA channel as idle on timeout in non-ATA_CAM mode. 2010-04-26 11:58:15 +00:00
ata-raid-ddf.h Add basic support for DDF, often found on Adaptec HostRAID controllers. 2009-02-20 06:10:12 +00:00
ata-raid.c Use last 16 bytes of serial number in metadata instead of first ones, 2010-03-26 10:18:19 +00:00
ata-raid.h Add basic support for DDF, often found on Adaptec HostRAID controllers. 2009-02-20 06:10:12 +00:00
ata-sata.c Improve output for controllers that doesn't report SATA speed. 2010-02-22 10:45:40 +00:00
atapi-cam.c Fix possible use after free. 2010-06-05 08:58:03 +00:00
atapi-cd.c Specify the capability and media bits of the capabilities page in 2009-12-13 18:26:19 +00:00
atapi-cd.h Specify the capability and media bits of the capabilities page in 2009-12-13 18:26:19 +00:00
atapi-fd.c MFp4: 2009-12-06 00:10:13 +00:00
atapi-fd.h Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00
atapi-tape.c MFp4: 2009-12-06 00:10:13 +00:00
atapi-tape.h Add experimental support for SATA Port Multipliers 2008-04-10 13:05:05 +00:00