aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-07-05 17:31:05 -0400
committerBjorn Helgaas <bhelgaas@google.com>2012-07-05 17:31:05 -0400
commit85a00dd391d2de1e177c5ad8db5672428934ac20 (patch)
tree1dbf69da98dd2e4f6d5dfc75f8dacc00d1664f89 /drivers/pci/pci.c
parent35e7f73c32ad44a931d918d04e317a7fb0c63e6e (diff)
parent29e8d7bff2f52dd5464a9fb24ece608bbf8fd5ae (diff)
Merge branch 'pci/myron-pcibios_setup' into next
* pci/myron-pcibios_setup: xtensa/PCI: factor out pcibios_setup() x86/PCI: adjust section annotations for pcibios_setup() unicore32/PCI: adjust section annotations for pcibios_setup() tile/PCI: factor out pcibios_setup() sparc/PCI: factor out pcibios_setup() sh/PCI: adjust section annotations for pcibios_setup() sh/PCI: factor out pcibios_setup() powerpc/PCI: factor out pcibios_setup() parisc/PCI: factor out pcibios_setup() MIPS/PCI: adjust section annotations for pcibios_setup() MIPS/PCI: factor out pcibios_setup() microblaze/PCI: factor out pcibios_setup() ia64/PCI: factor out pcibios_setup() cris/PCI: factor out pcibios_setup() alpha/PCI: factor out pcibios_setup() PCI: pull pcibios_setup() up into core
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 3f8b74f07147..e091b0afdc8a 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -2793,6 +2793,18 @@ static void __pci_set_master(struct pci_dev *dev, bool enable)
2793} 2793}
2794 2794
2795/** 2795/**
2796 * pcibios_setup - process "pci=" kernel boot arguments
2797 * @str: string used to pass in "pci=" kernel boot arguments
2798 *
2799 * Process kernel boot arguments. This is the default implementation.
2800 * Architecture specific implementations can override this as necessary.
2801 */
2802char * __weak __init pcibios_setup(char *str)
2803{
2804 return str;
2805}
2806
2807/**
2796 * pcibios_set_master - enable PCI bus-mastering for device dev 2808 * pcibios_set_master - enable PCI bus-mastering for device dev
2797 * @dev: the PCI device to enable 2809 * @dev: the PCI device to enable
2798 * 2810 *