From owner-svn-src-projects@FreeBSD.ORG Thu Dec 27 20:52:40 2012 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CEE0102; Thu, 27 Dec 2012 20:52:40 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 218128FC08; Thu, 27 Dec 2012 20:52:40 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBRKqeGf054840; Thu, 27 Dec 2012 20:52:40 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBRKqdp0054839; Thu, 27 Dec 2012 20:52:39 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <201212272052.qBRKqdp0054839@svn.freebsd.org> From: Marcel Moolenaar Date: Thu, 27 Dec 2012 20:52:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r244749 - projects/altix2/sys/dev/isp X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2012 20:52:40 -0000 Author: marcel Date: Thu Dec 27 20:52:39 2012 New Revision: 244749 URL: http://svnweb.freebsd.org/changeset/base/244749 Log: Adjust for the new datarate argument. Pass as 0 for now. Modified: projects/altix2/sys/dev/isp/isp_pci.c Modified: projects/altix2/sys/dev/isp/isp_pci.c ============================================================================== --- projects/altix2/sys/dev/isp/isp_pci.c Thu Dec 27 20:49:13 2012 (r244748) +++ projects/altix2/sys/dev/isp/isp_pci.c Thu Dec 27 20:52:39 2012 (r244749) @@ -1505,7 +1505,7 @@ isp_pci_mbxdma(ispsoftc_t *isp) #endif error = busdma_tag_create(ISP_PCD(isp), 1, slim, llim, - BUS_SPACE_MAXSIZE, nsegs, slim, 0, &isp->isp_osinfo.dmat); + BUS_SPACE_MAXSIZE, nsegs, slim, 0, 0, &isp->isp_osinfo.dmat); if (error) { free(isp->isp_osinfo.pcmd_pool, M_DEVBUF); ISP_LOCK(isp); @@ -1563,7 +1563,8 @@ isp_pci_mbxdma(ispsoftc_t *isp) * to be 32 bits, but we do this for simplicity and speed's sake. */ error = busdma_tag_derive(isp->isp_osinfo.dmat, QENTRY_LEN, slim, - BUS_SPACE_MAXADDR_32BIT, len, 1, slim, 0, &isp->isp_osinfo.cdmat); + BUS_SPACE_MAXADDR_32BIT, len, 1, slim, 0, 0, + &isp->isp_osinfo.cdmat); if (error) { isp_prt(isp, ISP_LOGERR, "cannot create a dma tag for control spaces"); free(isp->isp_osinfo.pcmd_pool, M_DEVBUF); @@ -1606,7 +1607,7 @@ isp_pci_mbxdma(ispsoftc_t *isp) struct isp_fc *fc = ISP_FC_PC(isp, cmap); error = busdma_tag_derive(isp->isp_osinfo.dmat, 64, slim, BUS_SPACE_MAXADDR_32BIT, ISP_FC_SCRLEN, 1, - slim, 0, &fc->tdmat); + slim, 0, 0, &fc->tdmat); if (error) goto bad; error = busdma_mem_alloc(fc->tdmat, 0, &fc->tdmd);