svn commit: r233032 - stable/9/sys/dev/aac
Ed Maste
emaste at FreeBSD.org
Fri Mar 16 13:44:41 UTC 2012
Author: emaste
Date: Fri Mar 16 13:44:40 2012
New Revision: 233032
URL: http://svn.freebsd.org/changeset/base/233032
Log:
MFC r232668:
Use bus_get_dma_tag() to inherit the PCI bus' 4G boundary constraint.
Modified:
stable/9/sys/dev/aac/aac_pci.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/dev/aac/aac_pci.c
==============================================================================
--- stable/9/sys/dev/aac/aac_pci.c Fri Mar 16 12:13:44 2012 (r233031)
+++ stable/9/sys/dev/aac/aac_pci.c Fri Mar 16 13:44:40 2012 (r233032)
@@ -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-stable-9
mailing list