diff options
| author | Scott Long <scottl@FreeBSD.org> | 2012-03-12 08:03:51 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2012-03-12 08:03:51 +0000 |
| commit | b6f97155ccab302d0c3920d20604b183a036f0fb (patch) | |
| tree | dc5d4c305b98bef1388bcb9d1d8e32413a75f5af /sys/dev/twe | |
| parent | 312af517e350ff5a9991c005a7cb628cc513a4a5 (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 29dab580d9dc..6c31d6a07940 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 */ |
