diff options
author | scottl <scottl@FreeBSD.org> | 2012-03-12 18:15:08 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2012-03-12 18:15:08 +0000 |
commit | 2e7ae86807f43c9ea4f0469949d9d219439d4746 (patch) | |
tree | 4ced951e8f3d5eebc9a6faba8d843d83ec452288 /sys/dev/ixgbe/ixgbe.c | |
parent | 89dc636733d07508428d015c5099c0c98a11e8b8 (diff) | |
download | FreeBSD-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/ixgbe.c')
-rw-r--r-- | sys/dev/ixgbe/ixgbe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c index befedc9..bbaacc4 100644 --- a/sys/dev/ixgbe/ixgbe.c +++ b/sys/dev/ixgbe/ixgbe.c @@ -2879,7 +2879,8 @@ ixgbe_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 */ |