summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-11-29 14:49:27 +0000
committerscottl <scottl@FreeBSD.org>2004-11-29 14:49:27 +0000
commitc9eff643a7a2472627834aaeaeff7b9cbb49ed37 (patch)
treea7a069e91aa1814f15e0086cd7ea31a4232cea32 /sys/amd64
parentcdc87f254a4564cf00ce035684a9f34a8a1ac07f (diff)
downloadFreeBSD-src-c9eff643a7a2472627834aaeaeff7b9cbb49ed37.zip
FreeBSD-src-c9eff643a7a2472627834aaeaeff7b9cbb49ed37.tar.gz
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.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/busdma_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/busdma_machdep.c b/sys/amd64/amd64/busdma_machdep.c
index 5fd738f..a82dfde 100644
--- a/sys/amd64/amd64/busdma_machdep.c
+++ b/sys/amd64/amd64/busdma_machdep.c
@@ -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) &&
OpenPOWER on IntegriCloud