diff options
| author | Scott Long <scottl@FreeBSD.org> | 2012-03-16 08:46:58 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2012-03-16 08:46:58 +0000 |
| commit | 03f15131ec6a584935fd83d33e1a1dc1500c3880 (patch) | |
| tree | 3729c840b9550580d810e838c3faf7f24aac9659 /sys/dev/twe | |
| parent | b9d98828d052268932457c558cc9dc5d9f3b0213 (diff) | |
Notes
Diffstat (limited to 'sys/dev/twe')
| -rw-r--r-- | sys/dev/twe/twe_freebsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/twe/twe_freebsd.c b/sys/dev/twe/twe_freebsd.c index 3216bb97f305..0f3b35b3f449 100644 --- a/sys/dev/twe/twe_freebsd.c +++ b/sys/dev/twe/twe_freebsd.c @@ -225,7 +225,7 @@ twe_attach(device_t dev) /* * Allocate the parent bus DMA tag appropriate for PCI. */ - if (bus_dma_tag_create(NULL, /* parent */ + if (bus_dma_tag_create(bus_get_dma_tag(dev), /* PCI parent */ 1, 0, /* alignment, boundary */ BUS_SPACE_MAXADDR_32BIT, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ |
