From owner-cvs-src-old@FreeBSD.ORG Fri Sep 25 16:45:35 2009 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 531161065775 for ; Fri, 25 Sep 2009 16:45:35 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 418078FC22 for ; Fri, 25 Sep 2009 16:45:35 +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 n8PGjZcD038531 for ; Fri, 25 Sep 2009 16:45:35 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8PGjZ1Z038530 for cvs-src-old@freebsd.org; Fri, 25 Sep 2009 16:45:35 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <200909251645.n8PGjZ1Z038530@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Fri, 25 Sep 2009 16:45:27 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/ata/chipsets ata-marvell.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, 25 Sep 2009 16:45:35 -0000 marius 2009-09-25 16:45:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/ata/chipsets ata-marvell.c Log: SVN rev 197488 on 2009-09-25 16:45:27Z by marius - Add missing bus_dmamap_sync(9) calls for the work DMA map. Previously the work area was totally unsynchronized which means this driver only had a chance of working on x86 when no bounce buffers were involved, which isn't that likely given that support for 64-bit DMA is currently broken throughout ata(4). - Add necessary little-endian conversion of accesses to the work area, making this driver work on big-endian hosts. While at it, use the alignment-agnostic byte order encoders in order to be on the safe side. - Clear the reserved member of the SG list entries in order to be on the safe side. [1] Submitted by: yongari [1] Reviewed by: yongari Approved by: re (kib) Revision Changes Path 1.9.2.2 +18 -7 src/sys/dev/ata/chipsets/ata-marvell.c