mtd/drivers/mtd/nand diskonchip.c,1.7,1.8
David Woodhouse
dwmw2 at infradead.org
Wed Nov 5 11:52:37 EST 2003
Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv2103
Modified Files:
diskonchip.c
Log Message:
Use pipeline even for byte reads/writes.
Index: diskonchip.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/diskonchip.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- diskonchip.c 5 Nov 2003 13:20:10 -0000 1.7
+++ diskonchip.c 5 Nov 2003 16:52:34 -0000 1.8
@@ -267,6 +267,7 @@
WriteDOC(datum, docptr, CDSNSlowIO);
WriteDOC(datum, docptr, Mil_CDSN_IO);
+ WriteDOC(datum, docptr, WritePipeTerm);
}
static u_char doc2001_read_byte(struct mtd_info *mtd)
@@ -278,6 +279,7 @@
ReadDOC(docptr, CDSNSlowIO);
/* 11.4.5 -- delay twice to allow extended length cycle */
DoC_Delay(doc, 2);
+ ReadDOC(docptr, ReadPipeInit);
return ReadDOC(docptr, Mil_CDSN_IO);
}
@@ -483,7 +485,6 @@
doc2000_count_chips(&mymtd);
nrchips = 4 * mydoc.chips_per_floor;
name = "DiskOnChip 2000 (INFTL Model)";
- mydoc.CDSNControl |= CDSN_CTRL_FLASH_IO;
} else {
/* Bog-standard Millennium */
mydoc.chips_per_floor = 1;
More information about the linux-mtd-cvs
mailing list