Re: Reg-network driver.

From: Randy.Dunlap (rddunlap@osdlab.org)
Date: Tue Oct 09 2001 - 11:49:49 EST


Hi,

Maybe you didn't tell cscope to search in linux/net/core/* .
It's there, in dev.c .

~Randy

"SATHISH.J" wrote:
>
> 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
> On Tue, 9 Oct 2001, Stephane List wrote:
>
> > On Tue, Oct 09, 2001 at 02:35:37PM +0530, SATHISH.J wrote :
> > > 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 where register_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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:26 EST