From: Greg KH <greg@kroah.com>
To: Ram <vshrirama@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: procfs and sysfs changes?
Date: Fri, 16 Jun 2006 17:19:08 -0700 [thread overview]
Message-ID: <20060617001908.GA30204@kroah.com> (raw)
In-Reply-To: <8bf247760606160428s4070f543t329eee7fb44921c7@mail.gmail.com>
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
prev parent reply other threads:[~2006-06-17 0:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-16 11:28 procfs and sysfs changes? Ram
2006-06-17 0:19 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060617001908.GA30204@kroah.com \
--to=greg@kroah.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=vshrirama@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.