Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 05:30:59 GMT
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 101258 for review
Message-ID:  <200607110530.k6B5Uxqi051792@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101258

Change 101258 by csjp@csjp_rnd01 on 2006/07/11 05:30:51

	Fix from what I can is a typo in the argument passed to bus_get_dma_tag,
	we passed dev and we should be passing mpt->dev. This fixes the build for
	mpt(4) capable kernels.

Affected files ...

.. //depot/projects/kmacy_sun4v_stable/src/sys/dev/mpt/mpt_pci.c#4 edit

Differences ...

==== //depot/projects/kmacy_sun4v_stable/src/sys/dev/mpt/mpt_pci.c#4 (text+ko) ====

@@ -679,7 +679,7 @@
 	 * Align at byte boundaries,
 	 * Limit to 32-bit addressing for request/reply queues.
 	 */
-	if (mpt_dma_tag_create(mpt, /*parent*/bus_get_dma_tag(dev),
+	if (mpt_dma_tag_create(mpt, /*parent*/bus_get_dma_tag(mpt->dev),
 	    /*alignment*/1, /*boundary*/0, /*lowaddr*/BUS_SPACE_MAXADDR,
 	    /*highaddr*/BUS_SPACE_MAXADDR, /*filter*/NULL, /*filterarg*/NULL,
 	    /*maxsize*/BUS_SPACE_MAXSIZE_32BIT,



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