From owner-cvs-all@FreeBSD.ORG Wed Dec 12 05:55:04 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C42916A500; Wed, 12 Dec 2007 05:55:04 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D6E2813C46A; Wed, 12 Dec 2007 05:55:03 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBC5t3ji020785; Wed, 12 Dec 2007 05:55:03 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBC5t3gR020784; Wed, 12 Dec 2007 05:55:03 GMT (envelope-from scottl) Message-Id: <200712120555.lBC5t3gR020784@repoman.freebsd.org> From: Scott Long Date: Wed, 12 Dec 2007 05:55:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/amr amr.c amr_cam.c amr_pci.c amrvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 05:55:04 -0000 scottl 2007-12-12 05:55:03 UTC FreeBSD src repository Modified files: sys/dev/amr amr.c amr_cam.c amr_pci.c amrvar.h Log: Rewrite the DMA code paths from being an impenitrable maze of special cases to a much saner and simplier unified code path. Along the way, fix various CAM nits and bugs so that the passthrough works correctly for all cases. Revision Changes Path 1.84 +136 -350 src/sys/dev/amr/amr.c 1.27 +38 -53 src/sys/dev/amr/amr_cam.c 1.40 +67 -26 src/sys/dev/amr/amr_pci.c 1.34 +18 -6 src/sys/dev/amr/amrvar.h