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
@ -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 New Issue
Block a user