Date: Sun, 21 May 2006 06:00:27 GMT From: John-Mark Gurney <jmg@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 97553 for review Message-ID: <200605210600.k4L60RHw048375@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605210600.k4L60RHw048375>