From 73179c53b45d4e737c784acbbcd549c64dc589f5 Mon Sep 17 00:00:00 2001 From: Sean Bruno Date: Fri, 18 May 2012 21:40:17 +0000 Subject: MFC 232854,232874,232882,232883,232886 for bus_get_dma_tag() --- sys/dev/mlx/mlx_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/mlx') 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 */ -- cgit v1.3