* [PATCH] resolve probe difference
@ 2003-10-13 18:48 Stephen Hemminger
2003-10-13 19:45 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2003-10-13 18:48 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev
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);
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] resolve probe difference
2003-10-13 18:48 [PATCH] resolve probe difference Stephen Hemminger
@ 2003-10-13 19:45 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-10-13 19:45 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: netdev
On Mon, 13 Oct 2003 11:48:52 -0700
Stephen Hemminger <shemminger@osdl.org> wrote:
> 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..
Looks good, applied.
Thanks a lot Stephen.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-13 19:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-13 18:48 [PATCH] resolve probe difference Stephen Hemminger
2003-10-13 19:45 ` David S. Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.