Re: /proc vs. /sys

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

 



On Thursday 29 January 2004 20:35, Greg KH wrote:
> 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?
No.

>
> > 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.
You mean a virtual bus, which is exclusively used by my devices and my driver.
To this bus my devices (which represent the rcapi ctrs) can register to, as 
well as my driver (which serves the rcapi ctrs); the bus interconnects my 
devices with my driver. 
This process is outlined in Documentation/porting.txt.

>
> thanks,
>
> greg k-h

/FAU


--
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