1. 30 1月, 2010 1 次提交
    • P
      sh: Kill off broken type 1 PCI config access checks. · 396c56a9
      Paul Mundt 提交于
      The host controllers only support type 1, so there's not much else to
      test for. Some of the older controllers also supported type 2 accesses,
      but we've never supported those, and likely never will. Beyond that, the
      P1SEG test is meaningless for 32-bit mode, so rather than refactoring it,
      just kill the type 1 test off completely.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      396c56a9
  2. 20 4月, 2009 2 次提交
  3. 17 4月, 2009 1 次提交
  4. 16 4月, 2009 3 次提交
    • M
      sh: add reg_base member to pci_channel · e4c6a360
      Magnus Damm 提交于
      Store the base address of the pci host controller registers in struct
      pci_channel and use the address in pci_read_reg() and pci_write_reg().
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e4c6a360
    • M
      sh: hook in struct pci_channel in sysdata · b6706ef1
      Magnus Damm 提交于
      Store a struct pci_channel pointer in bus->sysdata. This makes whatever
      struct pci_channel assigned to a bus available for sh4_pci_read() and
      sh4_pci_write(). We also modify PCIBIOS_MIN_IO and PCIBIOS_MIN_MEM to
      use bus->sysdata - this to gives us support for multiple pci channels.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b6706ef1
    • 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
  5. 20 7月, 2007 1 次提交
  6. 07 5月, 2007 1 次提交
  7. 27 9月, 2006 1 次提交