07 Jan, 2012

1 commit

  • This patch converts ARM's architecture-specific inlined
    'pcibios_set_master()' routine to a non-inlined function. This will
    allow follow on patches to create a generic 'pcibios_set_master()'
    function using the '__weak' attribute which can be used by all
    architectures as a default which, if necessary, can then be over-
    ridden by architecture-specific code.

    Converting 'pci_bios_set_master()' to a non-inlined function will allow
    ARM's 'pcibios_set_master()' implementation to remain architecture-
    specific after the generic version is introduced and thus, not change
    current behavior.

    Note that ARM also has a non-inlined 'pcibios_set_master()' that is
    used if CONFIG_PCI_HOST_ITE8152 is defined. This patch does not
    change any behavior here either.

    No functional change.

    Signed-off-by: Myron Stowe
    Signed-off-by: Jesse Barnes

    Myron Stowe
     

13 Jul, 2011

2 commits

  • Convert PCIBIOS_MIN_IO and PCIBIOS_MIN_MEM to variables to allow
    multi-platform builds. This also removes the requirement for a platform to
    have a mach/hardware.h.

    The default values for i/o and mem are 0x1000 and 0x01000000, respectively.
    Per Arnd Bergmann, other values are likely to be incorrect, but this commit
    does not try to address that issue.

    Signed-off-by: Rob Herring
    Acked-by: Nicolas Pitre
    Reviewed-by: Arnd Bergmann

    Rob Herring
     
  • Convert pcibios_assign_all_busses from a define to inline so platforms can
    control this setting.

    Signed-off-by: Rob Herring
    Acked-by: Nicolas Pitre
    Reviewed-by: Arnd Bergmann

    Rob Herring
     

23 Apr, 2010

1 commit

  • This patch adds support for PCI domains on ARM platforms.

    Also, protect asm/mach/pci.h from multiple inclustions, otherwise
    build fails because of pci_domain_nr() and pci_proc_domain()
    redefinitions.

    Signed-off-by: Anton Vorontsov
    Signed-off-by: Russell King

    Anton Vorontsov
     

13 Mar, 2010

2 commits


10 Sep, 2009

1 commit

  • This was #define'd as 0 on all platforms, so let's get rid of it.

    This change makes pci_scan_slot() slightly easier to read.

    Cc: Yoshinori Sato
    Cc: Tony Luck
    Cc: David Howells
    Cc: "David S. Miller"
    Cc: Jeff Dike
    Cc: Ingo Molnar
    Cc: Ivan Kokshaysky
    Reviewed-by: Matthew Wilcox
    Acked-by: Russell King
    Acked-by: Ralf Baechle
    Acked-by: Kyle McMartin
    Acked-by: Benjamin Herrenschmidt
    Acked-by: Paul Mundt
    Acked-by: Arnd Bergmann
    Signed-off-by: Alex Chiang
    Signed-off-by: Jesse Barnes

    Alex Chiang
     

18 Jun, 2009

1 commit


14 Sep, 2008

1 commit

  • PCI_DMA_BUS_IS_PHYS was defined to be zero, which meant we ignored
    the DMA mask for IDE and SCSI transfers. This is wrong - we have
    no DMA translation hardware. We want to obey DMA masks so that the
    block layer performs bouncing itself.

    Reported-by: Mikael Pettersson
    Signed-off-by: Russell King

    Russell King
     

07 Aug, 2008

2 commits


03 Aug, 2008

1 commit