Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2012 13:46:54 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r233033 - stable/8/sys/dev/aac
Message-ID:  <201203161346.q2GDksi5020365@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Mar 16 13:46:54 2012
New Revision: 233033
URL: http://svn.freebsd.org/changeset/base/233033

Log:
  MFC r232668:
  
    Use bus_get_dma_tag() to inherit the PCI bus' 4G boundary constraint.

Modified:
  stable/8/sys/dev/aac/aac_pci.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/dev/aac/aac_pci.c
==============================================================================
--- stable/8/sys/dev/aac/aac_pci.c	Fri Mar 16 13:44:40 2012	(r233032)
+++ stable/8/sys/dev/aac/aac_pci.c	Fri Mar 16 13:46:54 2012	(r233033)
@@ -402,7 +402,7 @@ aac_pci_attach(device_t dev)
 	 *
 	 * Note that some of these controllers are 64-bit capable.
 	 */
-	if (bus_dma_tag_create(NULL, 			/* parent */
+	if (bus_dma_tag_create(bus_get_dma_tag(sc->aac_dev), /* parent */
 			       PAGE_SIZE, 0,		/* algnmnt, boundary */
 			       BUS_SPACE_MAXADDR,	/* lowaddr */
 			       BUS_SPACE_MAXADDR, 	/* highaddr */



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