git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
arch
/
i386
/
kernel
/
mca.c
diff --git
a/arch/i386/kernel/mca.c
b/arch/i386/kernel/mca.c
index
a03d368
..
720365e
100644
(file)
--- a/
arch/i386/kernel/mca.c
+++ b/
arch/i386/kernel/mca.c
@@
-258,16
+258,16
@@
static int __init mca_init(void)
/* Make sure the MCA bus is present */
/* 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;
}
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)
/* All MCA systems have at least a primary bus */
bus = mca_attach_bus(MCA_PRIMARY_BUS);
if (!bus)