From 19f7abda8b05f788a242b1b2385807979ec5e085 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 7 Mar 2012 18:52:46 +0000 Subject: Use bus_get_dma_tag() to inherit the PCI bus' 4G boundary constraint. Tested by: emaste --- sys/dev/aac/aac_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/aac') diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c index 485d5ff..163c5ea 100644 --- a/sys/dev/aac/aac_pci.c +++ b/sys/dev/aac/aac_pci.c @@ -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 */ -- cgit v1.1