aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iir
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2012-03-12 08:03:51 +0000
committerScott Long <scottl@FreeBSD.org>2012-03-12 08:03:51 +0000
commitb6f97155ccab302d0c3920d20604b183a036f0fb (patch)
treedc5d4c305b98bef1388bcb9d1d8e32413a75f5af /sys/dev/iir
parent312af517e350ff5a9991c005a7cb628cc513a4a5 (diff)
Notes
Diffstat (limited to 'sys/dev/iir')
-rw-r--r--sys/dev/iir/iir_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/iir/iir_pci.c b/sys/dev/iir/iir_pci.c
index 19d09c619fd8..662f06bc3b2f 100644
--- a/sys/dev/iir/iir_pci.c
+++ b/sys/dev/iir/iir_pci.c
@@ -318,7 +318,8 @@ iir_pci_attach(device_t dev)
/* Allocate a dmatag representing the capabilities of this attachment */
/* XXX Should be a child of the PCI bus dma tag */
- if (bus_dma_tag_create(/*parent*/NULL, /*alignemnt*/1, /*boundary*/0,
+ if (bus_dma_tag_create(/*parent*/bus_get_dma_tag(dev),
+ /*alignemnt*/1, /*boundary*/0,
/*lowaddr*/BUS_SPACE_MAXADDR_32BIT,
/*highaddr*/BUS_SPACE_MAXADDR,
/*filter*/NULL, /*filterarg*/NULL,