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:
parent
a848550a77
commit
81ea17f095
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183678
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user