summaryrefslogtreecommitdiffstats
path: root/sys/dev/mxge
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/mxge
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/mxge')
-rw-r--r--sys/dev/mxge/if_mxge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mxge/if_mxge.c b/sys/dev/mxge/if_mxge.c
index a33d03f..c61d360 100644
--- a/sys/dev/mxge/if_mxge.c
+++ b/sys/dev/mxge/if_mxge.c
@@ -4662,7 +4662,7 @@ mxge_attach(device_t dev)
goto abort_with_nothing;
}
- err = bus_dma_tag_create(NULL, /* parent */
+ err = bus_dma_tag_create(bus_get_dma_tag(dev), /* parent */
1, /* alignment */
0, /* boundary */
BUS_SPACE_MAXADDR, /* low */
OpenPOWER on IntegriCloud