Reg-network driver.
A message that is not in the archive (sent off-list or not yet received): 20011009105731.A835@alcove-fr
Hi stephane,
I have cscope installed to search source files.
I could not find "register_netdevice()" functionthrough it. I want to see where it calls the driver initialisation.
Please help me out.
Thanks in advance,
Warm regards,
sathish.j
Quoted 22 lines · Stephane List
Quoted 9 lines · SATHISH.J
Hi all,
I am trying to learn network drivers. Trying to initialise the driver we call "register_netdev()". This function in turn calls "register_netdevice()". Please tell me whereregister_netdevice()is defined. I want to see the code because the init function of the driver is called from function only as I heard. Please tell me where "register_netdevice()" and "unregister_netdevice()" are defined in the code.You can see it with :
http://lxr.linux.no/ident?i=register_netdevice
You can also install LXR on your own PC.
Stephane
Signature · 2 lines
Stephane LIST -- <[email protected]> Alcove, liberating software -- <http://www.alcove.com/>
Hi,
Maybe you didn't tell cscope to search in linux/net/core/* . It's there, in dev.c .
~Randy
Quoted 28 lines · SATHISH.J
Hi stephane,
I have cscope installed to search source files.
I could not find "register_netdevice()" functionthrough it. I want to see where it calls the driver initialisation.
Please help me out.Thanks in advance,
Warm regards,
sathish.jQuoted 15 lines · Stephane List
Quoted 9 lines · SATHISH.J
Hi all,
I am trying to learn network drivers. Trying to initialise the driver we call "register_netdev()". This function in turn calls "register_netdevice()". Please tell me whereregister_netdevice()is defined. I want to see the code because the init function of the driver is called from function only as I heard. Please tell me where "register_netdevice()" and "unregister_netdevice()" are defined in the code.You can see it with :
http://lxr.linux.no/ident?i=register_netdevice
You can also install LXR on your own PC.
Quoted 3 lines · In article <Pine.LNX.4.10.10110091750390.11843-100000@blrmail> you wrote:
I have cscope installed to search source files.
I could not find "register_netdevice()" functionthrough it. I want to see where it calls the driver initialisation.
:) You should use more sophistacated and complex, very high tech new source browsing tools like find and grep instead :) It's of course in the network core.
Greetings
Bernd