summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2008-10-04 08:55:30 +0000
committerMarius Strobl <marius@FreeBSD.org>2008-10-04 08:55:30 +0000
commitf638ac8f79c0a7e1084af7d479d7538eb9f552c5 (patch)
treef2ca4d2216cc28d9e3320250c0dc579295d6176c /sys/dev
parent46a4fea4e77b0d3a88fbd66845440f8891066cf6 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fatm/if_fatm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fatm/if_fatm.c b/sys/dev/fatm/if_fatm.c
index 8ba31c1a9dd6..a23fbaea61ee 100644
--- a/sys/dev/fatm/if_fatm.c
+++ b/sys/dev/fatm/if_fatm.c
@@ -2890,7 +2890,7 @@ fatm_attach(device_t dev)
* restrictions for the controller (and PCI bus) and is never used
* to do anything.
*/
- if (bus_dma_tag_create(NULL, 1, 0,
+ if (bus_dma_tag_create(bus_get_dma_tag(dev), 1, 0,
BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR,
NULL, NULL, BUS_SPACE_MAXSIZE_32BIT, MAXDMASEGS,
BUS_SPACE_MAXSIZE_32BIT, 0, NULL, NULL,