All of lore.kernel.org
 help / color / mirror / Atom feed
* procfs and sysfs changes?
@ 2006-06-16 11:28 Ram
  2006-06-17  0:19 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Ram @ 2006-06-16 11:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-arm-kernel

Hi,
  i am porting a driver from 2.4 to 2.6.

   I went thru the porting guide available in lwn.net. some parts of
the document is difficult to follow for begineers.


  am confused.

  Could any one let me know what changes i need to make in a 2.4 driver
  as far as /proc interface is concerned.

  Should i make any new additions to support sysfs?.  am cofused
regarding the need
  of sysfs when /proc is already there.


  Could anyone help me on this.

  pointers will be very helpful.


Regards,
sriram

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

* Re: procfs and sysfs changes?
  2006-06-16 11:28 procfs and sysfs changes? Ram
@ 2006-06-17  0:19 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2006-06-17  0:19 UTC (permalink / raw)
  To: Ram; +Cc: linux-kernel, linux-arm-kernel

On Fri, Jun 16, 2006 at 04:58:59PM +0530, Ram wrote:
> Hi,
>  i am porting a driver from 2.4 to 2.6.
> 
>   I went thru the porting guide available in lwn.net. some parts of
> the document is difficult to follow for begineers.
> 
> 
>  am confused.
> 
>  Could any one let me know what changes i need to make in a 2.4 driver
>  as far as /proc interface is concerned.

You should not put anything in /proc for a driver.

>  Should i make any new additions to support sysfs?.  am cofused
> regarding the need
>  of sysfs when /proc is already there.

What do you need to put in sysfs becides what is automatically created
for you by the driver core?

It really depends on what you are wanting to do.

>  Could anyone help me on this.
> 
>  pointers will be very helpful.

Take a look at the book, "Linux Device Drivers, third edition", online
for free, for more details about sysfs and the driver core.

hope this helps,

greg k-h

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

end of thread, other threads:[~2006-06-17  0:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-16 11:28 procfs and sysfs changes? Ram
2006-06-17  0:19 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.