Can cfi_cmdset.c functions be called by anybody?

Derek Ross dross at iders.ca
Tue Apr 2 18:23:50 EST 2002


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 at infradead.org>
To: "Derek Ross" <dross at iders.ca>
Cc: <linux-mtd at lists.infradead.org>
Sent: Monday, April 01, 2002 3:35 PM
Subject: Re: Can cfi_cmdset.c functions be called by anybody? 


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