1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

Pass bus_get_dma_tag() into the first argument of bus_dma_create_tag()

rather than NULL.
This commit is contained in:
Warner Losh 2008-10-07 23:55:32 +00:00
parent a848550a77
commit 81ea17f095
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183678
2 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ aha_isa_attach(device_t dev)
filter_arg = NULL;
lowaddr = BUS_SPACE_MAXADDR_24BIT;
if (bus_dma_tag_create( /* parent */ NULL,
if (bus_dma_tag_create( /* parent */ bus_get_dma_tag(dev),
/* alignemnt */ 1,
/* boundary */ 0,
/* lowaddr */ lowaddr,

View File

@ -162,7 +162,7 @@ aha_mca_attach (device_t dev)
isa_dmacascade(rman_get_start(sc->drq));
error = bus_dma_tag_create(
/* parent */ NULL,
/* parent */ bus_get_dma_tag(dev),
/* alignemnt */ 1,
/* boundary */ 0,
/* lowaddr */ BUS_SPACE_MAXADDR_24BIT,