Commit 06ceb2bd authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] initcall ordering fix for PNP NICs

From: "M.H.VanLeeuwen" <vanl@megsinet.net>

The level of isapnp_init was moved to after apci sometime ago.  Since it is
now after net_dev_init, ISA PNP NICs fail to initialized at boot.  This is
particularily problematic for NFS root filesystems like mine, or none
modular systems.

This fix allows ISA PNP NIC cards to work during net_dev_init, and still
leaves isapnp_init after apci_init.
parent bf69c42c
......@@ -1160,7 +1160,7 @@ int __init isapnp_init(void)
return 0;
}
device_initcall(isapnp_init);
fs_initcall(isapnp_init);
/* format is: noisapnp */
......
......@@ -3023,7 +3023,7 @@ static int __init net_dev_init(void)
return rc;
}
subsys_initcall(net_dev_init);
fs_initcall(net_dev_init);
EXPORT_SYMBOL(__dev_get);
EXPORT_SYMBOL(__dev_get_by_flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment