netdev
[Top] [All Lists]

Re: alloc_etherdev breaks ether=

To: jgarzik@xxxxxxxxxxxxxxxx (Jeff Garzik)
Subject: Re: alloc_etherdev breaks ether=
From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Jun 2001 16:37:02 +0100 (BST)
Cc: alan@xxxxxxxxxxxxxxxxxxx (Alan Cox), andrewm@xxxxxxxxxx (Andrew Morton), davem@xxxxxxxxxx (David S. Miller), netdev@xxxxxxxxxxx, torvalds@xxxxxxxxxxxxx (Linus Torvalds)
In-reply-to: <3B3C9E4A.124EC206@mandrakesoft.com> from "Jeff Garzik" at Jun 29, 2001 11:27:06 AM
Sender: owner-netdev@xxxxxxxxxxx
> - init_etherdev
> - failure, call unregister_netdev
> - ether= is no longer correct

I tested this path in 2.4.0pre - it worked then. The device is unregistered,
the next device registered is created with the same name and assigned the 
same options

> - init_etherdev, calls /sbin/hotplug
> - device comes up before dev->mem_start is read/set from ether=

If your device is coming up before you register it then yes you need to
re-order stuff and get the parameters seperately. But that isnt a big problem
- its also already buggy as hell when this occurs and we have drivers reporting
eth%s: blah blah 

and stuff

> Anything -not- explicitly initialized in Space.c has fundamental
> incompatibilities with ether= no matter which way you slice it,
> alloc_etherdev or no.

I disagree. 


<Prev in Thread] Current Thread [Next in Thread>