| To: | Zoltan Farkas <zfarkas@xxxxxxxxxxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx>, Alexander Viro <aviro@xxxxxxxxxx> |
|---|---|
| Subject: | [RFC] multiple eth0 mixed PCI/ISA init |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Fri, 19 Dec 2003 15:14:15 -0800 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <Pine.GS4.4.33.0312192251180.6715-100000@xxxxxxxxxxxxxxx> |
| Organization: | Open Source Development Lab |
| References: | <Pine.GS4.4.33.0312192251180.6715-100000@xxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
PCI is getting initialized before the old ISA probing code, so your PCI card
is grabbing eth0 before the ISA card gets started.
You might be able workaround the problem probably by doing:
netdev=0,1,0,0,eth0
which should cause the ISA probe code to skip eth0 and go on to eth1
This patch should fix 2.6.0 (have similar but different fix for
net-drivers-2.5-exp).
I don't have an ISA card to actually test this code path.
diff -Nru a/drivers/net/Space.c b/drivers/net/Space.c
--- a/drivers/net/Space.c Fri Dec 19 15:10:50 2003
+++ b/drivers/net/Space.c Fri Dec 19 15:10:50 2003
@@ -350,7 +350,7 @@
* Backwards compatibility - historically an I/O base of 1 was
* used to indicate not to probe for this ethN interface
*/
- if (dev->base_addr == 1) {
+ if (__dev_get_by_name(dev->name) || dev->base_addr == 1) {
free_netdev(dev);
return -ENXIO;
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] Bogus return status in drivers/net/tg3.c, Francois Romieu |
|---|---|
| Next by Date: | [PATCH] Bogus return status in drivers/net/amd8111e.c, Francois Romieu |
| Previous by Thread: | [PATCH] Bogus return status in drivers/net/tg3.c, Francois Romieu |
| Next by Thread: | Re: [RFC] multiple eth0 mixed PCI/ISA init, Zoltan Farkas |
| Indexes: | [Date] [Thread] [Top] [All Lists] |