Re: /proc vs. /sys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 29, 2004 at 06:17:21PM +0100, Frank.A.Uepping@t-online.de wrote:
> On Thursday 22 January 2004 19:54, Greg KH wrote:
> > On Wed, Jan 21, 2004 at 07:31:57PM +0100, Frank.A.Uepping@t-online.de wrote:
> > > What are the rough steps needed to implement this?
> >
> > Convert your code to use a struct device :)
> >
> > thanks,
> >
> > greg k-h
> >
> Does a device need not to be attached to a bus (struct bus_type)?

No, have you tried it?

> Remember, there is no real hardware involved here, thus no bus to
> register on!

You can always create a virtual bus.  A number of subsystems do that
today to make things easier for themselves.

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux