Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2012 20:52:39 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r244749 - projects/altix2/sys/dev/isp
Message-ID:  <201212272052.qBRKqdp0054839@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212272052.qBRKqdp0054839>