summaryrefslogtreecommitdiffstats
path: root/sys/dev/buslogic/bt_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/buslogic/bt_pci.c')
-rw-r--r--sys/dev/buslogic/bt_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/buslogic/bt_pci.c b/sys/dev/buslogic/bt_pci.c
index de7cc9e..5994bec 100644
--- a/sys/dev/buslogic/bt_pci.c
+++ b/sys/dev/buslogic/bt_pci.c
@@ -173,7 +173,7 @@ bt_pci_attach(device_t dev)
/* Allocate a dmatag for our CCB DMA maps */
/* XXX Should be a child of the PCI bus dma tag */
- if (bus_dma_tag_create( /* parent */ NULL,
+ if (bus_dma_tag_create( /* PCI parent */ bus_get_dma_tag(dev),
/* alignemnt */ 1,
/* boundary */ 0,
/* lowaddr */ BUS_SPACE_MAXADDR_32BIT,
OpenPOWER on IntegriCloud