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/hptmv | |
parent | 312af517e350ff5a9991c005a7cb628cc513a4a5 (diff) | |
download | src-b6f97155ccab302d0c3920d20604b183a036f0fb.tar.gz src-b6f97155ccab302d0c3920d20604b183a036f0fb.zip |
Convert a number of drivers to obtaining their parent DMA tag from their
PCI device attachment.
Notes
Notes:
svn path=/head/; revision=232854
Diffstat (limited to 'sys/dev/hptmv')
-rw-r--r-- | sys/dev/hptmv/entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hptmv/entry.c b/sys/dev/hptmv/entry.c index 4c61e655898c..f525b1f98fed 100644 --- a/sys/dev/hptmv/entry.c +++ b/sys/dev/hptmv/entry.c @@ -1326,7 +1326,7 @@ init_adapter(IAL_ADAPTER_T *pAdapter) _vbus_p->OsExt = (void *)pAdapter; pMvSataAdapter->IALData = pAdapter; - if (bus_dma_tag_create(NULL,/* parent */ + if (bus_dma_tag_create(bus_get_dma_tag(pAdapter->hpt_dev),/* parent */ 4, /* alignment */ BUS_SPACE_MAXADDR_32BIT+1, /* boundary */ BUS_SPACE_MAXADDR, /* lowaddr */ |