Can cfi_cmdset.c functions be called by anybody?

David Woodhouse dwmw2 at infradead.org
Mon Apr 1 16:35:47 EST 2002


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






More information about the linux-mtd mailing list