1. 20 5月, 2012 6 次提交
  2. 08 5月, 2012 1 次提交
  3. 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
  4. 05 3月, 2012 10 次提交
  5. 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
  6. 30 12月, 2011 2 次提交
  7. 24 12月, 2011 4 次提交
  8. 22 12月, 2011 1 次提交
  9. 22 11月, 2011 1 次提交
  10. 18 10月, 2011 1 次提交
    • G
      m68k: merge mmu and non-mmu include/asm/entry.h files · 61619b12
      Greg Ungerer 提交于
      The changes in the mmu version of entry.h (entry_mm.h) and the non-mmu
      version (entry_no.h) are not about the presence or use of an MMU at all.
      The main changes are to support the ColdFire processors. The code for
      trap entry and exit for all types of 68k processor outside coldfire is
      the same.
      
      So merge the files back to a single entry.h and share the common 68k
      entry/exit code. Some changes are required for the non-mmu entry
      handlers to adopt the differing macros for system call and interrupt
      entry, but this is quite strait forward. The changes for the ColdFire
      remove a couple of instructions for the separate a7 register case, and
      are no worse for the older single a7 register case.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      61619b12
  11. 25 7月, 2011 2 次提交
    • G
      m68knommu: correctly use trap_init · 622e9472
      Greg Ungerer 提交于
      Currently trap_init() is an empty function for m68knommu. Instead
      the vectors are being setup as part of the IRQ initialization.
      This is inconsistent with m68k and other architectures.
      
      Change the local init_vectors() to be trap_init(), and init the
      vectors at the correct time during startup. This will help merge of
      m68k and m68knommu trap code in the furture.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      622e9472
    • G
      m68k: merge MMU and non MMU versions of system.h · f941f5ca
      Greg Ungerer 提交于
      The non-MMU m68k targets can use the same asm/system.h as the MMU
      targets. So switch the current system_mm.h to be system.h and remove
      system_no.h.
      
      The assembly support code for the non-MMU resume functions needs to
      be modified to match the now common switch_to() macro. Specifically
      this means correctly saving and restoring the status flags in the case
      of the ColdFire resume, and some reordering of the code to not use
      registers before they are saved or after they are restored.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      f941f5ca
  12. 24 5月, 2011 3 次提交
  13. 31 3月, 2011 1 次提交
  14. 29 3月, 2011 1 次提交
  15. 25 3月, 2011 1 次提交
    • G
      m68k: merge m68k and m68knommu arch directories · 66d857b0
      Greg Ungerer 提交于
      There is a lot of common code that could be shared between the m68k
      and m68knommu arch branches. It makes sense to merge the two branches
      into a single directory structure so that we can more easily share
      that common code.
      
      This is a brute force merge, based on a script from Stephen King
      <sfking@fdwdc.com>, which was originally written by Arnd Bergmann
      <arnd@arndb.de>.
      
      > The script was inspired by the script Sam Ravnborg used to merge the
      > includes from m68knommu. For those files common to both arches but
      > differing in content, the m68k version of the file is renamed to
      > <file>_mm.<ext> and the m68knommu version of the file is moved into the
      > corresponding m68k directory and renamed <file>_no.<ext> and a small
      > wrapper file <file>.<ext> is used to select between the two version. Files
      > that are common to both but don't differ are removed from the m68knommu
      > tree and files and directories that are unique to the m68knommu tree are
      > moved to the m68k tree. Finally, the arch/m68knommu tree is removed.
      >
      > To select between the the versions of the files, the wrapper uses
      >
      > #ifdef CONFIG_MMU
      > #include <file>_mm.<ext>
      > #else
      > #include <file>_no.<ext>
      > #endif
      
      On top of this file merge I have done a simplistic merge of m68k and
      m68knommu Kconfig, which primarily attempts to keep existing options and
      menus in place. Other than a handful of options being moved it produces
      identical .config outputs on m68k and m68knommu targets I tested it on.
      
      With this in place there is now quite a bit of scope for merge cleanups
      in future patches.
      Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
      66d857b0