* device struct
@ 2001-07-25 15:44 David CM Weber
2001-07-25 16:30 ` Julien Laganier
0 siblings, 1 reply; 3+ messages in thread
From: David CM Weber @ 2001-07-25 15:44 UTC (permalink / raw)
To: Linux Kernel
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).
Thanks for bearing with me,
Dave Weber
Backbone Security, Inc.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: device struct
2001-07-25 15:44 device struct David CM Weber
@ 2001-07-25 16:30 ` Julien Laganier
2001-07-25 16:40 ` Randy.Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Julien Laganier @ 2001-07-25 16:30 UTC (permalink / raw)
To: David CM Weber; +Cc: Linux Kernel
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 !
--
"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.
--
Julien Laganier
Student Intern
Sun Microsystem Laboratories
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: device struct
2001-07-25 16:30 ` Julien Laganier
@ 2001-07-25 16:40 ` Randy.Dunlap
0 siblings, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2001-07-25 16:40 UTC (permalink / raw)
To: Julien Laganier; +Cc: David CM Weber, Linux Kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-07-25 16:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-25 15:44 device struct David CM Weber
2001-07-25 16:30 ` Julien Laganier
2001-07-25 16:40 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox