From owner-cvs-src-old@FreeBSD.ORG Sun Mar 6 12:48:32 2011 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 E83FA1065673 for ; Sun, 6 Mar 2011 12:48:32 +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 D61D18FC16 for ; Sun, 6 Mar 2011 12:48:32 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p26CmWcX063242 for ; Sun, 6 Mar 2011 12:48:32 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p26CmWwA063241 for cvs-src-old@freebsd.org; Sun, 6 Mar 2011 12:48:32 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201103061248.p26CmWwA063241@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Sun, 6 Mar 2011 12:48:15 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/mpt mpt.c mpt_cam.c mpt_user.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 Mar 2011 12:48:33 -0000 marius 2011-03-06 12:48:15 UTC FreeBSD src repository Modified files: sys/dev/mpt mpt.c mpt_cam.c mpt_user.c Log: SVN rev 219335 on 2011-03-06 12:48:15Z by marius - Allocate the DMA memory shared between the host and the controller as coherent. - Add some missing bus_dmamap_sync() calls. This includes putting such calls before calling reply handlers instead of calling bus_dmamap_sync() for the request queue from individual reply handlers as these handlers generally read back updates by the controller. Tested on amd64 and sparc64. MFC after: 2 weeks Revision Changes Path 1.56 +28 -14 src/sys/dev/mpt/mpt.c 1.76 +0 -9 src/sys/dev/mpt/mpt_cam.c 1.5 +13 -8 src/sys/dev/mpt/mpt_user.c