public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Can cfi_cmdset.c functions be called by anybody?
@ 2002-04-01 17:27 Derek Ross
  2002-04-01 21:35 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Derek Ross @ 2002-04-01 17:27 UTC (permalink / raw)
  To: linux-mtd

Hello,

Part of our flash application will be a real-time
logger.  The real time component will be limited
to certain periods of operation, but when it's running,
it will require about 5 bytes/second to be written
to a fixed circular buffer.

This would be simplified if I were able to directly
use the functions from cfi_cmdset_0001.c.

Are the functions available for any application to
use, or are they only available for device drivers?

Thanks,
Derek Ross.

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

* Re: Can cfi_cmdset.c functions be called by anybody?
  2002-04-01 17:27 Can cfi_cmdset.c functions be called by anybody? Derek Ross
@ 2002-04-01 21:35 ` David Woodhouse
  2002-04-02 23:23   ` Derek Ross
  0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2002-04-01 21:35 UTC (permalink / raw)
  To: Derek Ross; +Cc: linux-mtd

dross@iders.ca said:
> This would be simplified if I were able to directly use the functions
> from cfi_cmdset_0001.c.

> Are the functions available for any application to use, or are they
> only available for device drivers? 

The read/write/erase functionality of the chip driver is presented to 
userspace via the /dev/mtd[0123...] devices. Read and write work as 
expected, and there's an ioctl to perform an erase.

--
dwmw2

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

* Re: Can cfi_cmdset.c functions be called by anybody?
  2002-04-01 21:35 ` David Woodhouse
@ 2002-04-02 23:23   ` Derek Ross
  0 siblings, 0 replies; 3+ messages in thread
From: Derek Ross @ 2002-04-02 23:23 UTC (permalink / raw)
  To: linux-mtd

Would it be possible for me to modify, or
add to, the function pointers in the mtd_info
struct, so there there are also non-blocking 
write and erase functions?

Thanks,
Derek.

----- Original Message ----- 
From: "David Woodhouse" <dwmw2@infradead.org>
To: "Derek Ross" <dross@iders.ca>
Cc: <linux-mtd@lists.infradead.org>
Sent: Monday, April 01, 2002 3:35 PM
Subject: Re: Can cfi_cmdset.c functions be called by anybody? 


> 
> dross@iders.ca said:
> > This would be simplified if I were able to directly use the functions
> > from cfi_cmdset_0001.c.
> 
> > Are the functions available for any application to use, or are they
> > only available for device drivers? 
> 
> The read/write/erase functionality of the chip driver is presented to 
> userspace via the /dev/mtd[0123...] devices. Read and write work as 
> expected, and there's an ioctl to perform an erase.
> 
> --
> dwmw2

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

end of thread, other threads:[~2002-04-02 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-01 17:27 Can cfi_cmdset.c functions be called by anybody? Derek Ross
2002-04-01 21:35 ` David Woodhouse
2002-04-02 23:23   ` Derek Ross

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