From 32e16cef409bd0f9bd89f7ed3f8372af410308a0 Mon Sep 17 00:00:00 2001 From: scottl Date: Mon, 12 Mar 2012 08:03:51 +0000 Subject: Convert a number of drivers to obtaining their parent DMA tag from their PCI device attachment. --- sys/dev/hifn/hifn7751.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/hifn') diff --git a/sys/dev/hifn/hifn7751.c b/sys/dev/hifn/hifn7751.c index 7e3a65f..ecb1239 100644 --- a/sys/dev/hifn/hifn7751.c +++ b/sys/dev/hifn/hifn7751.c @@ -431,7 +431,7 @@ hifn_attach(device_t dev) * Setup the area where the Hifn DMA's descriptors * and associated data structures. */ - if (bus_dma_tag_create(NULL, /* parent */ + if (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.1