1. 28 9月, 2007 3 次提交
    • J
      [POWERPC] Fix cpm_uart driver for cpm1 machines · d2146028
      Jochen Friedrich 提交于
      in cpm_uart_cpm1.h, DPRAM_BASE is assigned an address derived from cpmp.
      On ARC=ppc, this is a physical address with 1:1 DMA mapping which can't
      be used for arithmetric compare operations with virtual addresses
      returned by cpm_dpram_addr. This patch changes the assignment to use
      cpm_dpram_addr as well, like in cpm_uart_cpm2.h.
      Signed-off-by: NJochen Friedrich <jochen@scram.de>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      d2146028
    • J
      [PPC] Fix cpm_dpram_addr returning phys mem instead of virt mem · bc638189
      Jochen Friedrich 提交于
      cpm_dpram_addr returns physical memory of the DP RAM instead of
      iomapped virtual memory. As there usually is a 1:1 MMU map of
      the IMMR area, this is often not noticed. However, cpm_dpram_phys
      assumes this iomapped virtual memory and returns garbage on the
      1:1 mapped memory causing CPM1 uart console to fail.
      
      This patch fixes the problem (copied from the powerpc tree).
      Signed-off-by: NJochen Friedrich <jochen@scram.de>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      bc638189
    • J
      [POWERPC] Fix copy'n'paste typo in commproc.c · 83af919e
      Jochen Friedrich 提交于
      The powerpc version of commproc.c exports cpm_dpram_addr twice
      and cpm_dpram_phys not at all due to a typo. This patch fixes this
      problem.
      
      CC      arch/powerpc/sysdev/commproc.o
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kcrctab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kcrctab_cpm_dpram_addr' was here
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__kstrtab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__kstrtab_cpm_dpram_addr' was here
      arch/powerpc/sysdev/commproc.c:398: error: redefinition of '__ksymtab_cpm_dpram_addr'
      arch/powerpc/sysdev/commproc.c:392: error: previous definition of '__ksymtab_cpm_dpram_addr' was here
      make[1]: *** [arch/powerpc/sysdev/commproc.o] Error 1
      make: *** [arch/powerpc/sysdev] Error 2
      Signed-off-by: NJochen Friedrich <jochen@scram.de>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      83af919e
  2. 27 9月, 2007 16 次提交
  3. 26 9月, 2007 21 次提交