mtd/include/linux/mtd nand.h,1.26,1.27
David Woodhouse
dwmw2 at infradead.org
Tue Jul 1 20:06:23 EDT 2003
Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv22024/include/linux/mtd
Modified Files:
nand.h
Log Message:
First part of read_buf/write_buf conversion for DMA, DiskOnChip, etc.
Index: nand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/nand.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- nand.h 1 Jul 2003 23:31:15 -0000 1.26
+++ nand.h 2 Jul 2003 00:06:20 -0000 1.27
@@ -162,6 +162,11 @@
struct nand_chip {
unsigned long IO_ADDR_R;
unsigned long IO_ADDR_W;
+
+ void (*write_buf)(struct mtd_info *mtd, const u_char *buf, int len);
+ void (*read_buf)(struct mtd_info *mtd, u_char *buf, int len);
+ int (*verify_buf)(struct mtd_info *mtd, u_char *buf, int len);
+
void (*hwcontrol)(struct mtd_info *mtd, int cmd);
int (*dev_ready)(struct mtd_info *mtd);
void (*cmdfunc)(struct mtd_info *mtd, unsigned command, int column, int page_addr);
More information about the linux-mtd-cvs
mailing list