diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-02-17 19:05:53 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-02-17 19:05:53 +0000 |
commit | 9f37c43c6ade81cfc0271a8d5131112ce78ec0b1 (patch) | |
tree | a6456ced1d185db97bd2ca096e9a00d163c778f0 | |
parent | fdeead5aca9587ca8a0e9a9fd9438fb0bd2474f8 (diff) |
Remove an if 0ed out chunk for BUS_DMA_COHERENT in bus_dmamap_map.
sparc64 is dma coherent and won't be needing this.
ok kettenis@.
-rw-r--r-- | sys/arch/sparc64/sparc64/machdep.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index 2c693455e39..4c6e7be828a 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.114 2008/12/30 16:05:45 kettenis Exp $ */ +/* $OpenBSD: machdep.c,v 1.115 2009/02/17 19:05:52 oga Exp $ */ /* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */ /*- @@ -1529,10 +1529,6 @@ _bus_dmamem_map(t, t0, segs, nsegs, size, kvap, flags) *kvap = (caddr_t)va; cbit = 0; -#if 0 - if (flags & BUS_DMA_COHERENT) - cbit |= PMAP_NVC; -#endif if (flags & BUS_DMA_NOCACHE) cbit |= PMAP_NC; |