1. 16 4月, 2009 1 次提交
    • M
      sh: pass along struct pci_channel · b8b47bfb
      Magnus Damm 提交于
      These patches rework the pci code for the sh architecture.
      
      Currently each board implements some kind of ioport to address mapping.
      Some boards use generic_io_base others try passing addresses as io ports.
      This is the first set of patches that try to unify the pci code as much
      as possible to avoid duplicated code. This will in the end lead to fewer
      lines board specific code and more generic code.
      
      This patch makes sure a struct pci_channel pointer is passed along to
      various pci functions such as pci_read_reg(), pci_write_reg(),
      pci_fixup_pcic(), sh7751_pcic_init() and sh7780_pcic_init().
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b8b47bfb
  2. 04 4月, 2009 1 次提交
    • T
      sh: sh7785lcr: Map whole PCI address space. · 68b42d1b
      Takashi Yoshii 提交于
      PCI still doesn't work on sh7785lcr 29bit 256M map mode.
      
      On SH7785, PCI -> SHwy address translation is not base+offset but
      somewhat like base|offset (See HW Manual (rej09b0261) Fig. 13.11).
      So, you can't export CS2,3,4,5 by 256M at CS2 (results CS0,1,2,3
      exported, I guess).  There are two candidates.
      
      a) 128M@CS2 + 128M@CS4
      b) 512M@CS0
      
      Attached patch is B. It maps 512M Byte at 0 independently of memory
      size. It results CS0 to CS6 and perhaps some more being accessible
      from PCI.
      
      Tested on
      7785lcr 29bit 128M map
      7785lcr 29bit 256M map
      (NOT tested on 32bit)
      Signed-off-by: NTakashi YOSHII <yoshii.takashi@renesas.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      68b42d1b
  3. 10 3月, 2009 1 次提交
  4. 22 12月, 2008 1 次提交
  5. 14 2月, 2008 1 次提交
  6. 28 1月, 2008 1 次提交
  7. 21 9月, 2007 1 次提交
  8. 07 5月, 2007 2 次提交
  9. 06 12月, 2006 1 次提交
    • P
      sh: Drop CPU subtype IRQ headers. · 9a7ef6d5
      Paul Mundt 提交于
      This drops the various IRQ headers that were floating around
      and primarily providing hardcoded IRQ definitions for the
      various CPU subtypes. This quickly got to be an unmaintainable
      mess, made even more evident by the subtle breakage introduced
      by the SH-2 and SH-2A changes.
      
      Now that subtypes are able to register IRQ maps directly, just
      rip all of the headers out.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      9a7ef6d5
  10. 03 10月, 2006 1 次提交
  11. 27 9月, 2006 2 次提交