In the change to get rid of the list of ISA devices to programmatic probing
of old devices, a behaviour change was introduced which might cause problems.
Before, it was possible to specify a parameter on the boot line for a second
device and skip the first, as in:
netdev=4,0x280,0,0,eth1
Well, now we stop after eth0 if we don't find it..
Somebody, might depend on the old behaviour, so this patch restores it..
diff -Nru a/drivers/net/Space.c b/drivers/net/Space.c
--- a/drivers/net/Space.c Fri Oct 10 10:03:42 2003
+++ b/drivers/net/Space.c Fri Oct 10 10:03:42 2003
@@ -433,17 +433,15 @@
#ifdef CONFIG_SBNI
for (num = 0; num < 8; ++num)
- if (sbni_probe(num))
- break;
+ sbni_probe(num);
#endif
#ifdef CONFIG_TR
for (num = 0; num < 8; ++num)
- if (trif_probe(num))
- break;
+ trif_probe(num);
#endif
for (num = 0; num < 8; ++num)
- if (ethif_probe(num))
- break;
+ ethif_probe(num);
+
#ifdef CONFIG_COPS
cops_probe(0);
cops_probe(1);
|