svn commit: r232668 - head/sys/dev/aac
John Baldwin
jhb at FreeBSD.org
Wed Mar 7 18:52:46 UTC 2012
Author: jhb
Date: Wed Mar 7 18:52:46 2012
New Revision: 232668
URL: http://svn.freebsd.org/changeset/base/232668
Log:
Use bus_get_dma_tag() to inherit the PCI bus' 4G boundary constraint.
Tested by: emaste
Modified:
head/sys/dev/aac/aac_pci.c
Modified: head/sys/dev/aac/aac_pci.c
==============================================================================
--- head/sys/dev/aac/aac_pci.c Wed Mar 7 18:50:33 2012 (r232667)
+++ head/sys/dev/aac/aac_pci.c Wed Mar 7 18:52:46 2012 (r232668)
@@ -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