Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jul 2010 15:47:28 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r210196 - stable/7/sys/dev/mpt
Message-ID:  <201007171547.o6HFlST0071129@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Sat Jul 17 15:47:28 2010
New Revision: 210196
URL: http://svn.freebsd.org/changeset/base/210196

Log:
  MFC: r209961
  
  Correct inverted parent DMA tag parameters.
  
  Reviewed by:	ken

Modified:
  stable/7/sys/dev/mpt/mpt_pci.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/dev/mpt/mpt_pci.c
==============================================================================
--- stable/7/sys/dev/mpt/mpt_pci.c	Sat Jul 17 15:47:23 2010	(r210195)
+++ stable/7/sys/dev/mpt/mpt_pci.c	Sat Jul 17 15:47:28 2010	(r210196)
@@ -757,8 +757,8 @@ mpt_dma_mem_alloc(struct mpt_softc *mpt)
 	    /*alignment*/1, /*boundary*/0, /*lowaddr*/BUS_SPACE_MAXADDR,
 	    /*highaddr*/BUS_SPACE_MAXADDR, /*filter*/NULL, /*filterarg*/NULL,
 	    /*maxsize*/BUS_SPACE_MAXSIZE_32BIT,
-	    /*nsegments*/BUS_SPACE_MAXSIZE_32BIT,
-	    /*maxsegsz*/BUS_SPACE_UNRESTRICTED, /*flags*/0,
+	    /*nsegments*/BUS_SPACE_UNRESTRICTED,
+	    /*maxsegsz*/BUS_SPACE_MAXSIZE_32BIT, /*flags*/0,
 	    &mpt->parent_dmat) != 0) {
 		mpt_prt(mpt, "cannot create parent dma tag\n");
 		return (1);



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