Loading arch/tile/kernel/pci.c +17 −0 Original line number Original line Diff line number Diff line Loading @@ -51,6 +51,8 @@ * * */ */ static int pci_probe = 1; /* /* * This flag tells if the platform is TILEmpower that needs * This flag tells if the platform is TILEmpower that needs * special configuration for the PLX switch chip. * special configuration for the PLX switch chip. Loading Loading @@ -143,6 +145,11 @@ int __init tile_pci_init(void) { { int i; int i; if (!pci_probe) { pr_info("PCI: disabled by boot argument\n"); return 0; } pr_info("PCI: Searching for controllers...\n"); pr_info("PCI: Searching for controllers...\n"); /* Re-init number of PCIe controllers to support hot-plug feature. */ /* Re-init number of PCIe controllers to support hot-plug feature. */ Loading Loading @@ -378,6 +385,16 @@ void pcibios_set_master(struct pci_dev *dev) /* No special bus mastering setup handling. */ /* No special bus mastering setup handling. */ } } /* Process any "pci=" kernel boot arguments. */ char * __init pcibios_setup(char *str) { if (!strcmp(str, "off")) { pci_probe = 0; return NULL; } return str; } /* /* * Enable memory and/or address decoding, as appropriate, for the * Enable memory and/or address decoding, as appropriate, for the * device described by the 'dev' struct. * device described by the 'dev' struct. Loading Loading
arch/tile/kernel/pci.c +17 −0 Original line number Original line Diff line number Diff line Loading @@ -51,6 +51,8 @@ * * */ */ static int pci_probe = 1; /* /* * This flag tells if the platform is TILEmpower that needs * This flag tells if the platform is TILEmpower that needs * special configuration for the PLX switch chip. * special configuration for the PLX switch chip. Loading Loading @@ -143,6 +145,11 @@ int __init tile_pci_init(void) { { int i; int i; if (!pci_probe) { pr_info("PCI: disabled by boot argument\n"); return 0; } pr_info("PCI: Searching for controllers...\n"); pr_info("PCI: Searching for controllers...\n"); /* Re-init number of PCIe controllers to support hot-plug feature. */ /* Re-init number of PCIe controllers to support hot-plug feature. */ Loading Loading @@ -378,6 +385,16 @@ void pcibios_set_master(struct pci_dev *dev) /* No special bus mastering setup handling. */ /* No special bus mastering setup handling. */ } } /* Process any "pci=" kernel boot arguments. */ char * __init pcibios_setup(char *str) { if (!strcmp(str, "off")) { pci_probe = 0; return NULL; } return str; } /* /* * Enable memory and/or address decoding, as appropriate, for the * Enable memory and/or address decoding, as appropriate, for the * device described by the 'dev' struct. * device described by the 'dev' struct. Loading