s390/pci: disable per default
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 16 Apr 2013 12:19:22 +0000 (14:19 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 17 Apr 2013 12:07:39 +0000 (14:07 +0200)
Disable pci on s390. Enable with pci=on.

Suggested-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci.c

index 6a054bf83eb0d75cc065416aaacedfa8bec91451..dd8e13ef506c49d4e27cb8a2d1c1be0f988c292c 100644 (file)
@@ -1106,13 +1106,13 @@ void zpci_deregister_hp_ops(void)
 }
 EXPORT_SYMBOL_GPL(zpci_deregister_hp_ops);
 
-unsigned int s390_pci_probe = 1;
+unsigned int s390_pci_probe;
 EXPORT_SYMBOL_GPL(s390_pci_probe);
 
 char * __init pcibios_setup(char *str)
 {
-       if (!strcmp(str, "off")) {
-               s390_pci_probe = 0;
+       if (!strcmp(str, "on")) {
+               s390_pci_probe = 1;
                return NULL;
        }
        return str;