summaryrefslogtreecommitdiffstats
path: root/sys/dev/ixgbe/ixv.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2012-03-12 18:15:08 +0000
committerscottl <scottl@FreeBSD.org>2012-03-12 18:15:08 +0000
commit2e7ae86807f43c9ea4f0469949d9d219439d4746 (patch)
tree4ced951e8f3d5eebc9a6faba8d843d83ec452288 /sys/dev/ixgbe/ixv.c
parent89dc636733d07508428d015c5099c0c98a11e8b8 (diff)
downloadFreeBSD-src-2e7ae86807f43c9ea4f0469949d9d219439d4746.zip
FreeBSD-src-2e7ae86807f43c9ea4f0469949d9d219439d4746.tar.gz
More conversions of drivers to use the PCI parent DMA tag.
Diffstat (limited to 'sys/dev/ixgbe/ixv.c')
-rw-r--r--sys/dev/ixgbe/ixv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/ixv.c b/sys/dev/ixgbe/ixv.c
index a0594b9..e0f9175 100644
--- a/sys/dev/ixgbe/ixv.c
+++ b/sys/dev/ixgbe/ixv.c
@@ -2158,7 +2158,8 @@ ixv_allocate_transmit_buffers(struct tx_ring *txr)
/*
* Setup DMA descriptor areas.
*/
- if ((error = bus_dma_tag_create(NULL, /* parent */
+ if ((error = bus_dma_tag_create(
+ bus_get_dma_tag(adapter->dev), /* parent */
1, 0, /* alignment, bounds */
BUS_SPACE_MAXADDR, /* lowaddr */
BUS_SPACE_MAXADDR, /* highaddr */
OpenPOWER on IntegriCloud