mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Sys fs
@ 2005-09-27 12:22 Kormos Matej
  2005-09-27 16:40 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Kormos Matej @ 2005-09-27 12:22 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'

Hello,
As far as I know all network drivers are automatically shown in
/sys/class/net;
But what to do if I want my kobject which is in my char driver appears in
/sys/class/net?
I am writing char driver which control some features on a switching device.
My kobject appears in directly in /sys directory because I set kobject
parent and kset to NULL.
But I need to move it to the net directory. I have read the book Linux
Device Drivers and searched web, but I have not found way how to acquire
pointers to ksets created by another drivers and how to connect to net
class. 

Thanks  for all suggestions.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-27 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-27 12:22 Sys fs Kormos Matej
2005-09-27 16:40 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®