mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't flag alignment constraints as a reason for bouncing. This fixes the
trigger for other misbehaviour in the sym driver that was causing freezes at boot. Thanks to phk@ for reporting and testing this.
This commit is contained in:
parent
40ab7ed988
commit
ee8d8ca5c1
2 changed files with 2 additions and 2 deletions
|
|
@ -277,7 +277,7 @@ bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment,
|
|||
}
|
||||
|
||||
if (newtag->lowaddr < ptoa((vm_paddr_t)Maxmem)
|
||||
|| newtag->alignment > 1 || newtag->boundary > 0)
|
||||
|| newtag->alignment > 1)
|
||||
newtag->flags |= BUS_DMA_COULD_BOUNCE;
|
||||
|
||||
if (((newtag->flags & BUS_DMA_COULD_BOUNCE) != 0) &&
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@ bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment,
|
|||
}
|
||||
|
||||
if (newtag->lowaddr < ptoa((vm_paddr_t)Maxmem)
|
||||
|| newtag->alignment > 1 || newtag->boundary > 0)
|
||||
|| newtag->alignment > 1)
|
||||
newtag->flags |= BUS_DMA_COULD_BOUNCE;
|
||||
|
||||
if (((newtag->flags & BUS_DMA_COULD_BOUNCE) != 0) &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue