- 23 5月, 2005 26 次提交
-
-
由 Nicolas Pitre 提交于
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: NNicolas Pitre <nico@cam.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Estelle Hammache 提交于
Prevent deadlock when checking erased block for space allocation during wbuf recovery. Signed-off-by: NEstelle Hammache <estelle.hammache@st.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Nicolas Pitre 提交于
add structure definition for OTP region info Signed-off-by: NNicolas Pitre <nico@cam.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Jonas Holmberg 提交于
* Removed table entry for AM29BDS643D, since device ID clashes with AM29DL640G and both chips support CFI. Signed-off-by: NJonas Holmberg <jonas.holmberg@axis.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 David Woodhouse 提交于
make NAND code work on NOR flash again Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
Make NFTL devices work on big endian machines. Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
Remove commented ugliness Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
Using the CONFIG_ options from KConfig seems to work better :8 Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Estelle Hammache 提交于
Code beautification and block filing correction for optimization. Signed-off-by: NEstelle Hammache <estelle.hammache@st.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Russell King 提交于
Try larger numbers of chips before smaller numbers of chips across the bus width. This means we'll avoid misdetecting a 2 x16 array as 1 x32 if the high 16-bits happen to read as zeros in the QRY area. Signed-off-by: NRussell King <linux@arm.linux.org.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Estelle Hammache 提交于
avoid segfault when nextblock was refiled because of a write failure - avoid filing blocks on the clean list when they have wasted space Signed-off-by: NEstelle Hammache <estelle.hammache@st.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Estelle Hammache 提交于
- block refiling when writing directly to flash a buffer which is bigger than wbuf - retry cases for flushing wbuf Signed-off-by: NEstelle Hammache <estelle.hammache@st.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Estelle Hammache 提交于
Correction of retry case to avoid silent failure of rmdir when jffs2_wbuf_recover GCs the previous entry (+ corresponding dnode case). Signed-off-by: NEstelle Hammache <estelle.hammache@st.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 David A. Marlin 提交于
Added routine to perform extra error status checks on erase and write failures to determine if errors are correctable. Added option to prevent JFFS2 from using virtual erase blocks. Performed minor cleanup on whitespace and comments. Signed-off-by: NDavid A. Marlin <dmarlin@redhat.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 David A. Marlin 提交于
Add optional hardware specific callback routine to perform extra error status checks on erase and write failures for devices with hardware ECC. Signed-off-by: NDavid A. Marlin <dmarlin@redhat.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Ben Dooks 提交于
Driver for generic RAM blocks which are exported by an platform_device from the device driver system. Signed-off-by: NBen Dooks <ben@simtec.co.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 David A. Marlin 提交于
Replace some literals with defined symbols. Signed-off-by: NDavid A. Marlin <dmarlin@redhat.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Richard Purdie 提交于
Correct Poodle default partition size Signed-off-by: NRichard Purdie <rpurdie@rpsys.net> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Todd Poynor 提交于
Avoid "Eep. No valid nodes for ino #1" message for just-created filesystem. Signed-off-by: NTodd Poynor <tpoynor@mvista.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Thomas Gleixner 提交于
Replace yield by msleep. M.Wilcox stared at it and frowned Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Ben Dooks 提交于
Ensure the whole device is added if there are no partitions found on the device, so that at least the flash can be read/written. Replace some of the constants with their SZ_xxx counterparts Signed-off-by: NBen Dooks <ben@simtec.co.uk> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 David A. Marlin 提交于
Add routine to perform device recovery (deplete) procedure. Clean up some compiler warnings. Signed-off-by: NDavid A. Marlin <dmarlin@redhat.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 David A. Marlin 提交于
Added workaround for Renesas AG-AND chips "disturb" issue for Bad Block Table. Added support for the device recovery command sequence for Renesas AG-AND chips. Signed-off-by: NDavid A. Marlin <dmarlin@redhat.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 David A. Marlin 提交于
Added extended commands for AG-AND device and added option for BBT_AUTO_REFRESH. Signed-off-by: NDavid A. Marlin <dmarlin@redhat.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Herbert Valerio Riedel 提交于
For the case that mtd partitions are enabled it would cause a 0-pointer dereferencing in mtdpart.c:mtd_erase_callback() Signed-off-by: NHerbert Valerio Riedel <hvr@inso.tuwien.ac.at> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
由 Josh Boyer 提交于
Add error checks to read/write functions and add an eraseblock size. Makes slram a suitable device for JFFS2. Signed-off-by: NJosh Boyer <jdub@us.ibm.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
-
- 19 5月, 2005 4 次提交
-
-
由 Linus Torvalds 提交于
Prevent the topdown allocator from allocating mmap areas all the way down to address zero. We still allow a MAP_FIXED mapping of page 0 (needed for various things, ranging from Wine and DOSEMU to people who want to allow speculative loads off a NULL pointer). Tested by Chris Wright. Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Stephen Tweedie 提交于
Avoid console spam with ext3 aborted journal. ext3 usually reports error conditions that it detects in its environment. But when its journal gets aborted due to such errors, it can sometimes continue to report that condition forever, spamming the console to such an extent that the initial first cause of the journal abort can be lost. When the journal aborts, we put the filesystem into readonly mode. Most subsequent filesystem operations will get rejected immediately by checks for MS_RDONLY either in the filesystem or in the VFS. But some paths do not have such checks --- for example, if we continue to write to a file handle that was opened before the fs went readonly. (We only check for the ROFS condition when the file is first opened.) In these cases, we can continue to generate log errors similar to EXT3-fs error (device $DEV) in start_transaction: Journal has aborted for each subsequent write. There is really no point in generating these errors after the initial error has been fully reported. Specifically, if we're starting a completely new filesystem operation, and the filesystem is *already* readonly (ie. the ext3 layer has already detected and handled the underlying jbd abort), and we see an EROFS error, then there is simply no point in reporting it again. Signed-off-by: NStephen Tweedie <sct@redhat.com> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 Stephen Tweedie 提交于
Don't pass meaningless file handles to block device ioctls. The recent raw IO ioctl-passthrough fix started passing the raw file handle into the block device ioctl handler. That's unlikely to be useful, as the file handle is actually open on a character-mode raw device, not a block device, so dereferencing it is not going to yield useful results to a block device ioctl handler. Previously we just passed NULL; also not a value that can usefully be dereferenced, but at least if it does happen, we'll oops instead of silently pretending that the file is a block device, so NULL is the more defensive option here. This patch reverts to that behaviour. Noticed by Al Viro. Signed-off-by: NStephen Tweedie <sct@redhat.com> Acked-by: NAl Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
- 18 5月, 2005 10 次提交
-
-
由 David Brownell 提交于
The driver model has a "detach_state" mechanism that: - Has never been used by any in-kernel drive; - Is superfluous, since driver remove() methods can do the same thing; - Became buggy when the suspend() parameter changed semantics and type; - Could self-deadlock when called from certain suspend contexts; - Is effectively wasted documentation, object code, and headspace. This removes that "detach_state" mechanism; net code shrink, as well as a per-device saving in the driver model and sysfs. Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 David Brownell 提交于
This patch includes various tweaks in the messaging that appears during system pm state transitions: * Warn about certain illegal calls in the device tree, like resuming child before parent or suspending parent before child. This could happen easily enough through sysfs, or in some cases when drivers use device_pm_set_parent(). * Be more consistent about dev_dbg() tracing ... do it for resume() and shutdown() too, and never if the driver doesn't have that method. * Say which type of system sleep state is being entered. Except for the warnings, these only affect debug messaging. Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net> Acked-by: NPavel Machek <pavel@ucw.cz> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg KH 提交于
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Greg KH 提交于
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Scott Murray 提交于
If my CPCI hotplug update patch is applied, then there are no longer any in tree users of the pci_visit_dev API, and it and its related code can be removed. Signed-off-by: NScott Murray <scottm@somanetworks.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Scott Murray 提交于
[PATCH] CPCI: update I have finally done some work to update the CompactPCI hotplug driver to fix some of the outstanding issues in 2.6: - Added adapter and latch status ops so that those files will get created by the current PCI hotplug core. This used to not be required, but seems to be now after some of the sysfs rework in the core. - Replaced slot list spinlock with a r/w semaphore to avoid any potential issues with sleeping. This quiets all of the runtime warnings. - Reworked interrupt driven hot extraction handling to remove need for a polling operator for ENUM# status. There are a lot of boards that only have an interrupt driven by ENUM#, so this lowers the bar to entry. - Replaced pci_visit_dev usage with better use of the PCI core functions. The new code is functionally equivalent to the previous code, but the use of pci_enable_device on insert needs to be investigated further, as I need to do some more testing to see if it is still necessary. Signed-off-by: NScott Murray <scottm@somanetworks.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dely Sy 提交于
Here is the updated patch to get pciehp driver to work for downstream port of a switch and handle the difference in the offset value of PCI Express capability list item of different ports. Signed-off-by: NDely Sy <dely.l.sy@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dely Sy 提交于
Here is a patch to fix the problem of echoing 1 to "power" file to enabled slot causing the slot to power down, and echoing 0 to disabled slot causing shpchp_disabled_slot() to be called twice. This problem was reported by kenji Kaneshige. Thanks, Dely Signed-off-by: NDely Sy <dely.l.sy@intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Christoph Lameter 提交于
The GET_INDEX() macro should use just the low three bits of the devfn, otherwise we have a memory scribble in pcie_rootport_aspm_quirk that overwrites ptype_all Fix it to be more careful about its arguments while at it. Acked by Dely Sy <dely.l.sy@intel.com> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
由 randy_dunlap 提交于
free agent Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-