aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mlx
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2012-05-18 21:40:17 +0000
committerSean Bruno <sbruno@FreeBSD.org>2012-05-18 21:40:17 +0000
commit73179c53b45d4e737c784acbbcd549c64dc589f5 (patch)
tree69afab30a461f0dd26b99a8fb3044768478e2607 /sys/dev/mlx
parent265dbd8d009ddb08e2034136ac52407075317e7b (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 b39a6b87d092..b3fb0742ef96 100644
--- a/sys/dev/mlx/mlx_pci.c
+++ b/sys/dev/mlx/mlx_pci.c
@@ -191,7 +191,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 */