patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / i386 / kernel / mca.c
index a03d368..720365e 100644 (file)
@@ -258,16 +258,16 @@ static int __init mca_init(void)
 
        /* Make sure the MCA bus is present */
 
-       if(!MCA_bus)
-               return -ENODEV;
-
-       printk(KERN_INFO "Micro Channel bus detected.\n");
-
-       if(mca_system_init()) {
+       if (mca_system_init()) {
                printk(KERN_ERR "MCA bus system initialisation failed\n");
                return -ENODEV;
        }
 
+       if (!MCA_bus)
+               return -ENODEV;
+
+       printk(KERN_INFO "Micro Channel bus detected.\n");
+
        /* All MCA systems have at least a primary bus */
        bus = mca_attach_bus(MCA_PRIMARY_BUS);
        if (!bus)