public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* what is the user space header file for mtdchar.c kernel driver
@ 2008-02-05 11:04 vishalk
  2008-02-06  3:05 ` Vinit Agnihotri
  0 siblings, 1 reply; 3+ messages in thread
From: vishalk @ 2008-02-05 11:04 UTC (permalink / raw)
  To: linux-mtd

I'm trying to access char device with mtdchar.c driver from user space.
I'm not able to find the header file for that to use in the user space
program.


VK


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

Contact your Administrator for further information.

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

* Re: what is the user space header file for mtdchar.c kernel driver
  2008-02-06  3:05 ` Vinit Agnihotri
@ 2008-02-06  1:46   ` Jamie Lokier
  0 siblings, 0 replies; 3+ messages in thread
From: Jamie Lokier @ 2008-02-06  1:46 UTC (permalink / raw)
  To: Vinit Agnihotri; +Cc: vishalk, linux-mtd

Vinit Agnihotri wrote:
> What exactly do you want to do with mtdchar??
> To access char driver you need to use dev file /dev/mtdchar,
> it doesn't need any header file.

Actually, to use the dev file's ioctls, you really do need a copy of
<mtd/mtd-user.h> and <mtd/mtd-abi.h>.

They are in the Linux kernel source tree under linux/include/mtd/, and
also in the flash utilities under include/mtd/.

-- Jamie

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

* Re: what is the user space header file for mtdchar.c kernel driver
  2008-02-05 11:04 what is the user space header file for mtdchar.c kernel driver vishalk
@ 2008-02-06  3:05 ` Vinit Agnihotri
  2008-02-06  1:46   ` Jamie Lokier
  0 siblings, 1 reply; 3+ messages in thread
From: Vinit Agnihotri @ 2008-02-06  3:05 UTC (permalink / raw)
  To: vishalk; +Cc: linux-mtd

What exactly do you want to do with mtdchar??
To access char driver you need to use dev file /dev/mtdchar,
it doesn't need any header file.

--Vinit.

On Feb 5, 2008 3:04 AM, vishalk <vishalk@tataelxsi.co.in> wrote:
> I'm trying to access char device with mtdchar.c driver from user space.
> I'm not able to find the header file for that to use in the user space
> program.
>
>
> VK
>
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
>
> Contact your Administrator for further information.
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>



-- 
Life is so short. So, follow some rules. Forgive quickly, believe
slowly, love truly, laugh loudly & never avoid anything that makes U
smile.

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

end of thread, other threads:[~2008-02-06  3:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-05 11:04 what is the user space header file for mtdchar.c kernel driver vishalk
2008-02-06  3:05 ` Vinit Agnihotri
2008-02-06  1:46   ` Jamie Lokier

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