diff options
| author | Sean Bruno <sbruno@FreeBSD.org> | 2012-05-18 21:40:17 +0000 |
|---|---|---|
| committer | Sean Bruno <sbruno@FreeBSD.org> | 2012-05-18 21:40:17 +0000 |
| commit | 73179c53b45d4e737c784acbbcd549c64dc589f5 (patch) | |
| tree | 69afab30a461f0dd26b99a8fb3044768478e2607 /sys/dev/mlx | |
| parent | 265dbd8d009ddb08e2034136ac52407075317e7b (diff) | |
Notes
Diffstat (limited to 'sys/dev/mlx')
| -rw-r--r-- | sys/dev/mlx/mlx_pci.c | 2 |
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 */ |
