diff options
author | jah <jah@FreeBSD.org> | 2015-10-23 12:03:25 +0000 |
---|---|---|
committer | jah <jah@FreeBSD.org> | 2015-10-23 12:03:25 +0000 |
commit | 075add24963a3db8760d588931ebad0e20259482 (patch) | |
tree | c4548edd5edeaf22ba0e2fba0d139a2ee16e021d /sys/x86 | |
parent | 7eb36dd3f94bbdd22cd44fd0fd1c86eb868bef1f (diff) | |
download | FreeBSD-src-075add24963a3db8760d588931ebad0e20259482.zip FreeBSD-src-075add24963a3db8760d588931ebad0e20259482.tar.gz |
Remove unclear comment about address truncation in busdma. Add (hopefully much clearer) comment at declaration of PHYS_TO_VM_PAGE().
Noted by: avg
Diffstat (limited to 'sys/x86')
-rw-r--r-- | sys/x86/x86/busdma_bounce.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/x86/x86/busdma_bounce.c b/sys/x86/x86/busdma_bounce.c index cac6c71..ebd6238 100644 --- a/sys/x86/x86/busdma_bounce.c +++ b/sys/x86/x86/busdma_bounce.c @@ -1006,7 +1006,6 @@ add_bounce_page(bus_dma_tag_t dmat, bus_dmamap_t map, vm_offset_t vaddr, bpage->busaddr |= addr & PAGE_MASK; } bpage->datavaddr = vaddr; - /* PHYS_TO_VM_PAGE() will truncate unaligned addresses. */ bpage->datapage = PHYS_TO_VM_PAGE(addr); bpage->dataoffs = addr & PAGE_MASK; bpage->datacount = size; |