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/dpt | |
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/dpt')
-rw-r--r-- | sys/dev/dpt/dpt_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c index df92565..2009dbd 100644 --- a/sys/dev/dpt/dpt_pci.c +++ b/sys/dev/dpt/dpt_pci.c @@ -133,7 +133,7 @@ dpt_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, + if (bus_dma_tag_create( /* PCI parent */ bus_get_dma_tag(dev), /* alignemnt */ 1, /* boundary */ 0, /* lowaddr */ BUS_SPACE_MAXADDR_32BIT, |