Re: device struct

Randy.Dunlap
2001-07-25T16:42:55Z

Julien Laganier wrote:
>
> David CM Weber wrote:
> >
> > I'm looking at some old (circa v2.2.5 of the kernel) sample code,
> > referring to the networking system. It refers to a structure named
> > "device". Was this replaced with something else?
> >
> > On a similar note, is there a "good" way of finding this data myself?
> > I've been using ctags, and this is of limited use. (Sometimes good,
> > sometimes bad).
> >
>
> Use CSCOPE, available at http://cscope.sourceforge.net
> It's very usefull !

I agree that cscope is useful, but the simple answer to David's
question is that struct device was replaced with struct net_device
in 2.4 so that the more generic struct device could be used for
more generic purposes.

~Randy