1. 27 9月, 2012 1 次提交
    • G
      m68knommu: make ColdFire IMR and IPR register definitions absolute addresses · 6a3a786d
      Greg Ungerer 提交于
      Make all definitions of the ColdFire Interrupt Mask and Pending registers
      absolute addresses. Currently some are relative to the MBAR peripheral region.
      
      The various ColdFire parts use different methods to address the internal
      registers, some are absolute, some are relative to peripheral regions
      which can be mapped at different address ranges (such as the MBAR and IPSBAR
      registers). We don't want to deal with this in the code when we are
      accessing these registers, so make all register definitions the absolute
      address - factoring out whether it is an offset into a peripheral region.
      
      This makes them all consistently defined, and reduces the occasional bugs
      caused by inconsistent definition of the register addresses.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      6a3a786d
  2. 16 9月, 2012 1 次提交
  3. 17 7月, 2012 1 次提交
  4. 16 7月, 2012 8 次提交
  5. 27 6月, 2012 1 次提交
  6. 25 6月, 2012 1 次提交
    • G
      m68knommu: define a local devm_clk_get() function · 19a1d332
      Greg Ungerer 提交于
      Commit f4d40de3 ("net fec: do not depend
      on grouped clocks") breaks compilation of the FEC driver for non iMX
      platforms in linux-3.5-rc1. For example when compiling for ColdFire I get:
      
            LD      vmlinux
          drivers/built-in.o: In function `fec_probe':
          fec.c:(.devinit.text+0x1e0): undefined reference to `devm_clk_get'
      
      Define a simple devm_clk_get() function for the m68knommu architecture.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      19a1d332
  7. 22 5月, 2012 1 次提交
    • A
      m68k: add TIF_NOTIFY_RESUME and handle it. · a54f1655
      Al Viro 提交于
      TIF_NOTIFY_RESUME added (as bit 5).  That way nommu glue needs no changes at
      all; mmu one needs just to replace jmi do_signal_return to jne do_signal_return
      There we have flags shifted up, until bit 6 (SIGPENDING) is in MSBit; instead
      of checking that MSBit is set (jmi) we check that MSBit or something below it
      is set (jne); bits 0..4 are never set, so that's precisely "bit 6 or bit 5 is
      set".
      
      Usual handling of NOTIFY_RESUME/SIGPENDING is done in do_notify_resume(); glue
      calls it instead of do_signal().
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      a54f1655
  8. 20 5月, 2012 12 次提交
  9. 08 5月, 2012 1 次提交
  10. 17 4月, 2012 1 次提交
    • G
      m68knommu: fix id number for second eth device on 5275 ColdFire · bfdd769a
      Greg Ungerer 提交于
      The second ColdFire FEC ethernet device should have an id number of 1,
      not 0. Otherwise it clashes with the first FEC ethernet device.
      
      On booting a kernel on a 5275 based board you will get messages out of
      the kernel like this:
      
          <4>------------[ cut here ]------------
          <4>WARNING: at fs/sysfs/dir.c:508 0x0a8b50()
          <4>sysfs: cannot create duplicate filename 'fec.0'
      
      And likely you won't be able to completely boot up after this at all.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      bfdd769a
  11. 05 3月, 2012 10 次提交
  12. 07 2月, 2012 1 次提交
    • G
      m68knommu: fix syscall tracing stuck process · 8b3262c0
      Greg Ungerer 提交于
      The return path from an exception was checking too many bits in the
      thread_info->flags, and getting stuck calling do_signal(). There was
      no work to do, we should only be checking the low 8 bits (as per comments
      and definitions in arch/m68k/include/asm/thread_info.h).
      
      This fixes the stuck process problem when using strace.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      8b3262c0
  13. 30 12月, 2011 1 次提交