summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* powermac: Use a spinlock in swim3.c (floppy driver) instead of cliPaul Mackerras2005-11-081-10/+10
| | | | Signed-off-by: Paul Mackerras <paulus@samba.org>
* macintosh: Always export pmu_[un]register_sleep_notifier if CONFIG_PM setPaul Mackerras2005-11-081-2/+2
| | | | | | | This fixes a build error when building the pmac sound driver as a module for 64-bit powermacs. Signed-off-by: Paul Mackerras <paulus@samba.org>
* [PATCH] ppc: Fix PowerBook HD led on ARCH=powerpcBenjamin Herrenschmidt2005-11-081-3/+6
| | | | | | | | The PowerBook HD led code uses obsoletes device-tree accessors which do not work anymore for getting the root of the tree. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [PATCH] ppc: fix a bunch of warningsBenjamin Herrenschmidt2005-11-081-3/+3
| | | | | | | | Building a PowerMac kernel with ARCH=powerpc causes a bunch of warnings, this fixes some of them Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [PATCH] ppc64: Thermal control for SMU based machinesBenjamin Herrenschmidt2005-11-0813-0/+3638
| | | | | | | | | | This adds a new thermal control framework for PowerMac, along with the implementation for PowerMac8,1, PowerMac8,2 (iMac G5 rev 1 and 2), and PowerMac9,1 (latest single CPU desktop). In the future, I expect to move the older G5 thermal control to the new framework as well. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [PATCH] ppc64: SMU partition recoveryBenjamin Herrenschmidt2005-11-081-8/+156
| | | | | | | | | | This patch adds the ability to the SMU driver to recover missing calibration partitions from the SMU chip itself. It also adds some dynamic mecanism to /proc/device-tree so that new properties are visible to userland. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [PATCH] ppc64: SMU based macs cpufreq supportBenjamin Herrenschmidt2005-11-081-0/+12
| | | | | | | | CPU freq support using 970FX powertune facility for iMac G5 and SMU based single CPU desktop. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
* Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linusLinus Torvalds2005-11-076-680/+1546
|\
| * VINO driver version 0.0.5.Ladislav Michl2005-11-075-680/+1545
| | | | | | | | | | Second cut of the VINO / Indycam driver for the Silicon Graphics Indy, much more feature complete and bug free.
| * Add .gitignore files for TurbochannelRalf Baechle2005-11-071-0/+1
| |
* | Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/inputLinus Torvalds2005-11-074-85/+109
|\ \
| * | Input: lkkbd - miscellaneous fixesJan-Benedict Glaw2005-11-021-42/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Hide debugging code into #ifdef, which allows to simplify the large switch statement * Update macros to not reference variables not given as arguments Signed-off-by: Jan-Benedict Glaw <jbglaw@lug-owl.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: logips2pp - add support for MX3100Mirco Macrelli2005-11-021-0/+3
| | | | | | | | | | | | | | | Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: locomokbd - fix wrong bustypePavel Machek2005-11-021-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: fix input device deregistrationDmitry Torokhov2005-11-021-0/+1
| | | | | | | | | | | | | | | | | | | | | Remove main attribute group (name, phys, uniq) when unregistering input devices. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: do not register statically allocated devicesDmitry Torokhov2005-11-021-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | Do not register statically allocated input devices to prevent OOPS when attaching input interfaces since it requires class device to be properly initialized. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | Input: locomokbd - convert to dynamic input allocationDmitry Torokhov2005-11-021-32/+31
| | | | | | | | | | | | Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | | Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6Linus Torvalds2005-11-07127-2527/+6042
|\ \ \ | | | | | | | | | | | | Some manual fixups for clashing kfree() cleanups etc.
| * | | [MTD] chips: Clean up trailing white spacesThomas Gleixner2005-11-071-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] OneNAND: Clean up trailing white spacesThomas Gleixner2005-11-071-12/+12
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] NAND: Clean up trailing white spacesThomas Gleixner2005-11-0717-695/+695
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] devices: Clean up trailing white spacesThomas Gleixner2005-11-0712-156/+156
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] maps: Clean up trailing white spacesThomas Gleixner2005-11-0761-470/+470
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] chips: Clean up trailing white spacesThomas Gleixner2005-11-0715-493/+493
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] core: Clean up trailing white spacesThomas Gleixner2005-11-0716-399/+399
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] chips cfi_cmdset_0002: Prevent timeout raceKonstantin Baidarov2005-11-071-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've noticed that sometimes "MTD do_write_buffer(): software timeout" message was printed out when writing to a Fujitsu NOR flash. It turned out that this was because of a race in the timeout handling do_write_buffer(). A small timeout of (HZ / 1000) + 1 is used there, and sometimes if the timer interrupt handling takes more than one or even two jiffies (which is 1-2 ms with HZ == 1000) and that interrupt happens just after chip_ready() call, the driver bails out from a ready polling loop despite the chip has actually become ready while all those interrupts were handled. To deal with this issue, extra check for chip ready is neccessary on timeout expiration (and the checks should better be reordered). As do_write_oneword() uses the same approach, it needs to also be changed. Signed-off-by: Konstantin Baidarov <kbaidarov@ru.mvista.com> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] maps: Add support for the "TQM834x" BoardsMarian Balakowicz2005-11-073-2/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following patch adds support for the TQ Systems TQM834x Boards. Verified on TQM8349L. This is a resubmit after integrating the suggested changes. Signed-off-by: Marian Balakowicz <m8@semihalf.com> Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] maps ixp2000: fix compile warnings in ixp2000 map driverLennert Buytenhek2005-11-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix two compile warnings that occur because of treating two 'unsigned long's as 'void *'s. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] NAND Kconfig: Simplify dependenciesThomas Gleixner2005-11-071-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] maps/plat-ram: Avoid gcc 4.0 warningThomas Gleixner2005-11-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The assignement of a "const char *" to a "char *" variable is emitting a warning with gcc 4.0. We cannot change mtd->name to "const char *" as we have dynamic assignements of the name. So casting is the correct solution here Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] NAND: nand_write_ecc memory and OOB corruptionTodd Poynor2005-11-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nathan Roberts noticed the nand_write_ecc index into oobbuf goes out of bounds when crossing an erase block boundary, causing incorrect OOB data to be written and corrupting memory. Reset the index to zero after re-preparing oobbuf for a new erase block. Signed-off-by: Todd Poynor <tpoynor@mvista.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] NAND nand_base: Fix shift for bad block check (16bit devices only)Vitaly Wool2005-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of an odd offset, the result was shifted by 1 instead of 8 Signed-off-by: Vitaly Wool <vwool@ru.mvista.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] OneNAND/Kconfig: Fix dependenciesThomas Gleixner2005-11-071-4/+3
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | Revert "[PATCH] OneNAND: Add simulator"Thomas Gleixner2005-11-073-474/+0
| | | | | | | | | | | | | | | | This reverts 405c829f98d216925de00af2ee52f969f2c2891c commit.
| * | | [MTD] maps/Kconfig: Simplify and update dependenciesSean Young2005-11-071-29/+32
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] maps/ts5500: Fix partition support. Code cleanupSean Young2005-11-071-26/+12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] Tidy up Tims include cleanupThomas Gleixner2005-11-073-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | While we are at it, reorder the includes and remove the silly /* TASK */ comment Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] maps/ixp4xx: kill some warningsDavid Vrabel2005-11-071-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use map.virt instead of map.map_priv_1 since it has the correct type. - Use readw/writew instead of dereferencing an ioremap'd cookie. - Remove an unused variable. Signed-off-by: David Vrabel <dvrabel@arcom.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] NAND sharpsl.c: Add support for akita and borzoi modelsRichard Purdie2005-11-061-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Sharp Zaurus akita and borzoi models are large page flash devices. This patch adds support for them to the sharpsl MTD NAND driver but keeps the oob layout and bad block positions compatible with the Sharp Zaurus 2.4 kernel and ROM bootloader. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] chips/cfi_cmdset_0001: fix for P30 cfi parsingNicolas Pitre2005-11-061-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change to the extended cfi table parsing for Intel NOR flash that uses the info in the extended table to 'walk' the table rather than using hard coding for various primary extended query table version numbers. From: Jared Hulbert <jaredeh@gmail.com> Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] NAND s3c2410.c: Fix timing calculation bugsBen Dooks2005-11-061-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Spotted by basprog@mail.ru Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] NAND s3c2410.c: Fix missing dev parameter to dev_errBen Dooks2005-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] maps/plat-ram.c: Initialize owner in device_driver structBen Dooks2005-11-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added .owner initialisation to allow the tracking of the device_driver owners when built as a module Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] maps/bast-flash.c: Initialize owner in device_driver structBen Dooks2005-11-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added owner to device driver field for tracking when loaded as a module. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] NAND: s3c2410.c Initialize owner in device_driver structBen Dooks2005-11-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added owner fields to the device_driver for tracking ownership when built as a module Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] mtdpart.c: Allow eraseblock size != power of 2Artem B. Bityutskiy2005-11-061-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't assume eraseblock size is power of 2. Dataflash can have aligned eraseblock size. From: Peter Menzebach <pm-mtd@mw-itcon.de> Acked-by: Artem B. Bityutskiy <dedekind@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] OneNAND: Enhanced support for DDP (Dual Densitiy Packages)Kyungmin Park2005-11-061-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add density mask for better support of DDP chips. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] OneNAND: Power Management (PM) supportKyungmin Park2005-11-061-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add suspend/resume Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] OneNAND: Add missing filesKyungmin Park2005-11-061-0/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Simple bad block table source and header files Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
| * | | [MTD] NAND: s3c2410 use dev_err() to report errors instead of printk()Ben Dooks2005-11-061-7/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
OpenPOWER on IntegriCloud