Skip to content

Commit

Permalink
Use bus_get_dma_tag() to inherit the PCI bus' 4G boundary constraint.
Browse files Browse the repository at this point in the history
Tested by:	emaste
  • Loading branch information
bsdjhb committed Mar 7, 2012
1 parent 8696e15 commit 19f7abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/dev/aac/aac_pci.c
Expand Up @@ -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 */
Expand Down

0 comments on commit 19f7abd

Please sign in to comment.