* [PATCH] multiple eth0 mixed PCI/ISA init
@ 2004-01-05 19:10 Stephen Hemminger
2004-01-05 20:56 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2004-01-05 19:10 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev
This patch for 2.6 fixes the problem found by Zoltan Farkas
with mixed PCI/ISA and a non-modular config. The problem is the old_netdev
ISA probing isn't skipping "eth0" which already got assigned by the PCI
initialization.
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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] multiple eth0 mixed PCI/ISA init
2004-01-05 19:10 [PATCH] multiple eth0 mixed PCI/ISA init Stephen Hemminger
@ 2004-01-05 20:56 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-01-05 20:56 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: netdev
On Mon, 5 Jan 2004 11:10:59 -0800
Stephen Hemminger <shemminger@osdl.org> wrote:
> This patch for 2.6 fixes the problem found by Zoltan Farkas
> with mixed PCI/ISA and a non-modular config. The problem is the old_netdev
> ISA probing isn't skipping "eth0" which already got assigned by the PCI
> initialization.
Applied, thanks Stephen.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-05 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-05 19:10 [PATCH] multiple eth0 mixed PCI/ISA init Stephen Hemminger
2004-01-05 20:56 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).