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/ips/ips_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ips/ips_pci.c') diff --git a/sys/dev/ips/ips_pci.c b/sys/dev/ips/ips_pci.c index 9781087..d39f4ac 100644 --- a/sys/dev/ips/ips_pci.c +++ b/sys/dev/ips/ips_pci.c @@ -135,7 +135,7 @@ static int ips_pci_attach(device_t dev) device_printf(dev, "irq setup failed\n"); goto error; } - if (bus_dma_tag_create( /* parent */ NULL, + if (bus_dma_tag_create( /* PCI parent */bus_get_dma_tag(dev), /* alignemnt */ 1, /* boundary */ 0, /* lowaddr */ BUS_SPACE_MAXADDR_32BIT, -- cgit v1.1