From owner-cvs-src-old@FreeBSD.ORG Fri Jun 11 14:07:03 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FAE0106568A for ; Fri, 11 Jun 2010 14:07:03 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6C8628FC1E for ; Fri, 11 Jun 2010 14:07:03 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o5BE73Ku017656 for ; Fri, 11 Jun 2010 14:07:03 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o5BE73E1017655 for cvs-src-old@freebsd.org; Fri, 11 Jun 2010 14:07:03 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <201006111407.o5BE73E1017655@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Fri, 11 Jun 2010 14:06:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/ata ata-all.h ata-lowlevel.c src/sys/dev/ata/chipsets ata-serverworks.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 14:07:03 -0000 nwhitehorn 2010-06-11 14:06:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/ata ata-all.h ata-lowlevel.c sys/dev/ata/chipsets ata-serverworks.c Log: SVN rev 209042 on 2010-06-11 14:06:35Z by nwhitehorn MFC r208870: 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. Reviewed by: mav Approved by: re (kib) Revision Changes Path 1.146.2.9 +1 -0 src/sys/dev/ata/ata-all.h 1.84.2.4 +10 -1 src/sys/dev/ata/ata-lowlevel.c 1.6.2.6 +10 -0 src/sys/dev/ata/chipsets/ata-serverworks.c