CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2012/03/15 12:57:22
Modified files: sys/arch/loongson/loongson: bus_dma.c machdep.c sys/arch/mips64/include: cpu.h sys/arch/octeon/octeon: bus_dma.c machdep.c sys/arch/sgi/dev: gbe.c sys/arch/sgi/sgi: bus_dma.c ip27_machdep.c ip30_machdep.c ip32_machdep.c machdep.c Log message: uncached_base was introduced early in IP27 support, since these designs use subspaces in the CCA_NC uncached memory space. However, being coherent, there was never a need for bus_dma to use uncached addresses. This means that, on the only systems where uncached_base was not set to PHYS_TO_XKPHYS(0, CCA_NC), it was never used. Remove the variable, and replace PHYS_TO_UNCACHED() with PHYS_TO_XKPHYS(, CCA_NC). No functional change.