From owner-cvs-src-old@FreeBSD.ORG Sun Jun 6 14:10:14 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 46792106566C for ; Sun, 6 Jun 2010 14:10:14 +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 3300D8FC12 for ; Sun, 6 Jun 2010 14:10:14 +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 o56EAEJ2085036 for ; Sun, 6 Jun 2010 14:10:14 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o56EAEIi085035 for cvs-src-old@freebsd.org; Sun, 6 Jun 2010 14:10:14 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <201006061410.o56EAEIi085035@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Sun, 6 Jun 2010 14:09:48 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Sun, 06 Jun 2010 14:10:14 -0000 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