summaryrefslogtreecommitdiffstats
path: root/sys/dev/advansys/adw_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/advansys/adw_pci.c')
-rw-r--r--sys/dev/advansys/adw_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/advansys/adw_pci.c b/sys/dev/advansys/adw_pci.c
index 8777a44..d9169cf 100644
--- a/sys/dev/advansys/adw_pci.c
+++ b/sys/dev/advansys/adw_pci.c
@@ -260,7 +260,7 @@ adw_pci_attach(device_t dev)
/* Allocate a dmatag for our transfer DMA maps */
/* XXX Should be a child of the PCI bus dma tag */
error = bus_dma_tag_create(
- /* parent */ NULL,
+ /* parent */ bus_get_dma_tag(dev),
/* alignment */ 1,
/* boundary */ 0,
/* lowaddr */ ADW_PCI_MAX_DMA_ADDR,
OpenPOWER on IntegriCloud