From owner-p4-projects@FreeBSD.ORG Sun May 21 06:01:04 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AE02B16A424; Sun, 21 May 2006 06:01:04 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8917B16A422 for ; Sun, 21 May 2006 06:01:04 +0000 (UTC) (envelope-from jmg@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4850143D46 for ; Sun, 21 May 2006 06:01:04 +0000 (GMT) (envelope-from jmg@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4L60Rx6048378 for ; Sun, 21 May 2006 06:00:27 GMT (envelope-from jmg@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4L60RHw048375 for perforce@freebsd.org; Sun, 21 May 2006 06:00:27 GMT (envelope-from jmg@freebsd.org) Date: Sun, 21 May 2006 06:00:27 GMT Message-Id: <200605210600.k4L60RHw048375@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmg@freebsd.org using -f From: John-Mark Gurney To: Perforce Change Reviews Cc: Subject: PERFORCE change 97553 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2006 06:01:04 -0000 http://perforce.freebsd.org/chv.cgi?CH=97553 Change 97553 by jmg@jmg_carbon-60 on 2006/05/21 05:59:27 properly get parent dma tag... Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/dev/isp/isp_pci.c#4 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/dev/isp/isp_pci.c#4 (text+ko) ==== @@ -1342,8 +1342,9 @@ } ISP_UNLOCK(isp); - if (isp_dma_tag_create(NULL, 1, slim, llim, hlim, - NULL, NULL, BUS_SPACE_MAXSIZE, ISP_NSEGS, slim, 0, &pcs->dmat)) { + if (isp_dma_tag_create(bus_get_dma_tag(pcs->pci_dev), 1, slim, llim, + hlim, NULL, NULL, BUS_SPACE_MAXSIZE, ISP_NSEGS, slim, 0, + &pcs->dmat)) { isp_prt(isp, ISP_LOGERR, "could not create master dma tag"); ISP_LOCK(isp); return(1);