diff options
author | scottl <scottl@FreeBSD.org> | 2012-03-12 08:03:51 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2012-03-12 08:03:51 +0000 |
commit | 32e16cef409bd0f9bd89f7ed3f8372af410308a0 (patch) | |
tree | dc5d4c305b98bef1388bcb9d1d8e32413a75f5af /sys/dev/bxe | |
parent | ac2071063e8d399aef49037a97358e68d356f582 (diff) | |
download | FreeBSD-src-32e16cef409bd0f9bd89f7ed3f8372af410308a0.zip FreeBSD-src-32e16cef409bd0f9bd89f7ed3f8372af410308a0.tar.gz |
Convert a number of drivers to obtaining their parent DMA tag from their
PCI device attachment.
Diffstat (limited to 'sys/dev/bxe')
-rw-r--r-- | sys/dev/bxe/if_bxe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/bxe/if_bxe.c b/sys/dev/bxe/if_bxe.c index 1c5398a..b60d6e2 100644 --- a/sys/dev/bxe/if_bxe.c +++ b/sys/dev/bxe/if_bxe.c @@ -13582,7 +13582,8 @@ bxe_host_structures_alloc(device_t dev) /* * Allocate the parent bus DMA tag appropriate for PCI. */ - rc = bus_dma_tag_create(NULL, /* parent tag */ + rc = bus_dma_tag_create( + bus_get_dma_tag(dev), /* PCI parent tag */ 1, /* alignment for segs */ BXE_DMA_BOUNDARY, /* cannot cross */ BUS_SPACE_MAXADDR, /* restricted low */ |