aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mlx
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2012-03-12 08:03:51 +0000
committerScott Long <scottl@FreeBSD.org>2012-03-12 08:03:51 +0000
commitb6f97155ccab302d0c3920d20604b183a036f0fb (patch)
treedc5d4c305b98bef1388bcb9d1d8e32413a75f5af /sys/dev/mlx
parent312af517e350ff5a9991c005a7cb628cc513a4a5 (diff)
Notes
Diffstat (limited to 'sys/dev/mlx')
-rw-r--r--sys/dev/mlx/mlx_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx/mlx_pci.c b/sys/dev/mlx/mlx_pci.c
index 00d0fe2bac0f..92ad8781a653 100644
--- a/sys/dev/mlx/mlx_pci.c
+++ b/sys/dev/mlx/mlx_pci.c
@@ -189,7 +189,7 @@ mlx_pci_attach(device_t dev)
/*
* Allocate the parent bus DMA tag appropriate for PCI.
*/
- error = bus_dma_tag_create(NULL, /* parent */
+ error = bus_dma_tag_create(bus_get_dma_tag(dev), /* PCI parent */
1, 0, /* alignment, boundary */
BUS_SPACE_MAXADDR_32BIT, /* lowaddr */
BUS_SPACE_MAXADDR, /* highaddr */