diff options
author | scottl <scottl@FreeBSD.org> | 2005-03-07 02:18:52 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2005-03-07 02:18:52 +0000 |
commit | af7da441d202b77327d0ba7b89ab575814c8d6fe (patch) | |
tree | 41bc1728e6ac9e2e260fa185d1d27cefa02c7d9f /sys/alpha | |
parent | e685aa6ce97b7be5eb22c6df4d2362804686147d (diff) | |
download | FreeBSD-src-af7da441d202b77327d0ba7b89ab575814c8d6fe.zip FreeBSD-src-af7da441d202b77327d0ba7b89ab575814c8d6fe.tar.gz |
Remove dead code.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/busdma_machdep.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/alpha/alpha/busdma_machdep.c b/sys/alpha/alpha/busdma_machdep.c index a669d70..1ecc896 100644 --- a/sys/alpha/alpha/busdma_machdep.c +++ b/sys/alpha/alpha/busdma_machdep.c @@ -85,7 +85,6 @@ static int free_bpages; static int reserved_bpages; static int active_bpages; static int total_bpages; -static bus_addr_t bounce_lowaddr = BUS_SPACE_MAXADDR; struct bus_dmamap { struct bp_list bpages; @@ -250,14 +249,6 @@ bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment, if (newtag->lowaddr < ptoa(Maxmem) && (flags & BUS_DMA_ALLOCNOW) != 0) { /* Must bounce */ - if (lowaddr > bounce_lowaddr) { - /* - * Go through the pool and kill any pages - * that don't reside below lowaddr. - */ - panic("bus_dma_tag_create: page reallocation " - "not implemented"); - } if (ptoa(total_bpages) < maxsize) { int pages; @@ -367,14 +358,6 @@ bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) && total_bpages < maxpages)) { int pages; - if (dmat->lowaddr > bounce_lowaddr) { - /* - * Go through the pool and kill any pages - * that don't reside below lowaddr. - */ - panic("bus_dmamap_create: page reallocation " - "not implemented"); - } pages = atop(dmat->maxsize) + 1; pages = MIN(maxpages - total_bpages, pages); |