svn commit: r233033 - stable/8/sys/dev/aac
Ed Maste
emaste at FreeBSD.org
Fri Mar 16 13:46:55 UTC 2012
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 */
More information about the svn-src-all
mailing list