PERFORCE change 101258 for review

Christian S.J. Peron csjp at FreeBSD.org
Tue Jul 11 05:31:00 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=101258

Change 101258 by csjp at 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,


More information about the p4-projects mailing list