From owner-cvs-src@FreeBSD.ORG Tue May 13 20:58:08 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAA431065674; Tue, 13 May 2008 20:58:08 +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 9290E8FC1B; Tue, 13 May 2008 20:58:08 +0000 (UTC) (envelope-from marius@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 m4DKw8Ne006215; Tue, 13 May 2008 20:58:08 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4DKw8gD006214; Tue, 13 May 2008 20:58:08 GMT (envelope-from marius) Message-Id: <200805132058.m4DKw8gD006214@repoman.freebsd.org> From: Marius Strobl Date: Tue, 13 May 2008 20:58:08 +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/usb ehci.c ohci.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2008 20:58:08 -0000 marius 2008-05-13 20:58:08 UTC FreeBSD src repository Modified files: sys/dev/usb ehci.c ohci.c Log: Don't let hacksync() call bus_dmamap_sync(9) on DMA maps which are not initialized. This fixes a panic on sparc64 where calling bus_dmamap_sync(9) on NULL DMA maps is fatal. Approved by: sam Revision Changes Path 1.63 +7 -3 src/sys/dev/usb/ehci.c 1.172 +7 -3 src/sys/dev/usb/ohci.c