mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Use bus_get_dma_tag() so fatm(4) works on platforms requiring it.
Reported and tested by: Sean Thomas Caron MFC after: 3 days
This commit is contained in:
parent
c4688866d3
commit
2d3c782de1
1 changed files with 1 additions and 1 deletions
|
|
@ -2880,7 +2880,7 @@ fatm_attach(device_t dev)
|
|||
* restrictions for the controller (and PCI bus) and is never used
|
||||
* to do anything.
|
||||
*/
|
||||
if (bus_dma_tag_create(NULL, 1, 0,
|
||||
if (bus_dma_tag_create(bus_get_dma_tag(dev), 1, 0,
|
||||
BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR,
|
||||
NULL, NULL, BUS_SPACE_MAXSIZE_32BIT, MAXDMASEGS,
|
||||
BUS_SPACE_MAXSIZE_32BIT, 0, NULL, NULL,
|
||||
|
|
|
|||
Loading…
Reference in a new issue