1. 17 4月, 2009 2 次提交
    • P
      sh: pci: Consolidate SH7780 PCIC IRQ routing. · a6d377b6
      Paul Mundt 提交于
      Now that the platform code is a bit leaner, we can start consolidating
      the various IRQ routing implementations. There are effectively only 2
      variants, and the others can use those directly.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      a6d377b6
    • P
      sh: pci: Set class/sub-class code correctly for SH7780 PCIC. · 0bbc9bc3
      Paul Mundt 提交于
      The SH7780 PCI host controller implements a configuration header that
      requires a fair bit of hand-holding to initialize properly. By default
      it appears as a pre-2.0 host controller given the zeroed out class code,
      so fix this up properly.
      
      Some boards that happened to be using the R7780RP version of the PCIC
      fixups had set this correctly, but this belongs in the standard
      initialization, and is by no means board specific.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      0bbc9bc3
  2. 16 4月, 2009 2 次提交
    • M
      sh: avoid using PCIBIOS_MIN_xxx · 710fa3c8
      Magnus Damm 提交于
      Replaces PCIBIOS_MIN_IO and PCIBIOS_MIN_MEM with direct struct
      pci_channel access. This allows us to have more than one pci
      channel.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      710fa3c8
    • 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
  3. 28 1月, 2008 1 次提交
  4. 07 5月, 2007 1 次提交