mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue