- 29 Jun, 2006 1 commit
-
-
Randy Dunlap authored
Fix some kernel-doc typos/spellos. Use kernel-doc syntax in places where it was almost used. Correct/add struct, struct field, and function param names where needed. Signed-off-by:
Randy Dunlap <rdunlap@xenotime.net> Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
-
- 18 Jun, 2006 1 commit
-
-
David Woodhouse authored
This adds the Kbuild files listing the files which are to be installed by the 'headers_install' make target, in generic directories. Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
-
- 14 Jun, 2006 1 commit
-
-
David Woodhouse authored
Let's not attempt the abolition of mtd->type until/unless it's properly thought through. And certainly, let's not do it by halves. Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
-
- 30 May, 2006 2 commits
-
-
Joern Engel authored
Ram devices get the extra capability of MTD_NO_ERASE - not requiring an explicit erase before writing to it. Currently only mtdblock uses this capability. Rest of the patch is a simple text replacement. Signed-off-by:
Joern Engel <joern@wh.fh-wedel.de>
-
Joern Engel authored
No mtd user should ever check for the device type. Instead, device features should be checked by the flags - if at all. As a first step towards type removal, change MTD_ROM into MTD_GENERIC_TYPE. Signed-off-by:
Joern Engel <joern@wh.fh-wedel.de>
-
- 29 May, 2006 2 commits
-
-
Thomas Gleixner authored
The raw read/write access to NAND (without ECC) has been changed in the NAND rework. Expose the new way - setting the file mode via ioctl - to userspace. Also allow to read out the ecc statistics information so userspace tools can see that bitflips happened and whether errors where correctable or not. Also expose the number of bad blocks for the partition, so nandwrite can check if the data fits into the parition before writing to it. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
The nand_oobinfo structure is not fitting the newer error correction demands anymore. Replace it by struct nand_ecclayout and fixup the users all over the place. Keep the nand_oobinfo based ioctl for user space compability reasons. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- 22 May, 2006 3 commits
-
-
Joern Engel authored
o Add a flag MTD_BIT_WRITEABLE for devices that allow single bits to be cleared. o Replace MTD_PROGRAM_REGIONS with a cleared MTD_BIT_WRITEABLE flag for STMicro and Intel Sibley flashes with internal ECC. Those flashes disallow clearing of single bits, unlike regular NOR flashes, so the new flag models their behaviour better. o Remove MTD_ECC. After the STMicro/Sibley merge, this flag is only set and never checked. Signed-off-by:
Joern Engel <joern@wh.fh-wedel.de>
-
Joern Engel authored
At least two flashes exists that have the concept of a minimum write unit, similar to NAND pages, but no other NAND characteristics. Therefore, rename the minimum write unit to "writesize" for all flashes, including NAND. Signed-off-by:
Joern Engel <joern@wh.fh-wedel.de>
-
Joern Engel authored
Two flags exist to decide whether a device is writeable or not. None of those two flags is checked for independently, so they are clearly redundant, if not an invitation to bugs. This patch removed both of them, replacing them with a single new flag. Signed-off-by:
Joern Engel <joern@wh.fh-wedel.de>
-
- 25 Apr, 2006 1 commit
-
-
David Woodhouse authored
Currently, unifdef removes the comment which starts on the same line as the #ifdef __KERNEL__, but leaves the second line of the comment in place. Move the comment onto a separate line. Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
-
- 17 Apr, 2006 2 commits
-
-
Jörn Engel authored
Three types are never set or checked for. Remove. Signed-off-by:
Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
-
Jörn Engel authored
Several flags are set by some devices, but never checked. Remove them. Signed-off-by:
Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
-
- 07 Nov, 2005 1 commit
-
-
Thomas Gleixner authored
Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- 06 Nov, 2005 1 commit
-
-
Nicolas Pitre authored
This updates the Primary Vendor-Specific Extended Query parsing to version 1.4 in order to get the information about the Configurable Programming Mode regions implemented in the Sibley flash, as well as selecting the appropriate write command code. This flash does not behave like traditional NOR flash when writing data. While mtdblock should just work, further changes are needed for JFFS2 use. Signed-off-by:
Nicolas Pitre <nico@cam.org> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- 23 May, 2005 4 commits
-
-
Thomas Gleixner authored
Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Andrew Victor authored
For Dataflash, can_mark_obsolete = false and the NAND write buffering code (wbuf.c) is used. Since the DataFlash chip will automatically erase pages when writing, the cleanmarkers are not needed - so cleanmarker_oob = false and cleanmarker_size = 0 DataFlash page-sizes are not a power of two (they're multiples of 528 bytes). The SECTOR_ADDR macro (added in the previous core patch) is replaced with a (slower) div/mod version if CONFIG_JFFS2_FS_DATAFLASH is selected. Signed-off-by:
Andrew Victor <andrew@sanpeople.com> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Nicolas Pitre authored
This is implemented using a ioctl to switch the MTD char device into one of the different OTP "modes", at which point read/write/seek can operate on the selected OTP area. Also some extra ioctls to query for size and lock protection segments or groups. Some example user space utilities are provided. Signed-off-by:
Nicolas Pitre <nico@cam.org> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Nicolas Pitre authored
This enables support for reading, writing and locking so called "Protection Registers" present on some flash chips. A subset of them are pre-programmed at the factory with a unique set of values. The rest is user-programmable. Signed-off-by:
Nicolas Pitre <nico@cam.org> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- 16 Apr, 2005 1 commit
-
-
Linus Torvalds authored
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
-