]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/log
linux-2.6-omap-h63xx.git
18 years agoARM: OMAP: Fix typo to compile OSK
Tony Lindgren [Tue, 3 Jan 2006 19:17:09 +0000 (11:17 -0800)]
ARM: OMAP: Fix typo to compile OSK

Fix typo to compile OSK

18 years ago[PATCH] ARM: OMAP: gpio expander debug cleanup
Komal Shah [Tue, 3 Jan 2006 19:08:28 +0000 (11:08 -0800)]
[PATCH] ARM: OMAP: gpio expander debug cleanup

Do we really need this debug macros? If not, I have removed it in this
patch.

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 years ago[PATCH] ARM: OMAP: Fix problem on mounting a jffs2 rootfs image
Dirk Behme [Tue, 3 Jan 2006 18:49:33 +0000 (10:49 -0800)]
[PATCH] ARM: OMAP: Fix problem on mounting a jffs2 rootfs image

Check the flash timings on OSK to avoid problems with jffs2. Some
versions of uboot set incorrect timings.

18 years ago[PATCH] ARM: OMAP: I2C: Use struct platform_driver
Komal Shah [Tue, 3 Jan 2006 18:40:47 +0000 (10:40 -0800)]
[PATCH] ARM: OMAP: I2C: Use struct platform_driver

Attached patch uses "struct platform_driver" and kmalloc->kzalloc.

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 years ago[PATCH] ARM: OMAP: Disable DEBUG_LL in omap_h3_1710_defconfig
George G. Davis [Tue, 3 Jan 2006 18:38:55 +0000 (10:38 -0800)]
[PATCH] ARM: OMAP: Disable DEBUG_LL in omap_h3_1710_defconfig

Some folks have reported "serial console corruption" issues when using
the current omap_h3_1710_defconfig due to CONFIG_DEBUG_LL=y. This patch
disables CONFIG_DEBUG_LL since it's rarely required and only serves to
confuse some folks when they observe "serial console corruption"
while using the defconfig.

18 years agoARM: OMAP: OSS L/R Channel Interchange fix
Dirk Behme [Tue, 3 Jan 2006 17:48:03 +0000 (09:48 -0800)]
ARM: OMAP: OSS L/R Channel Interchange fix

OSS L/R Channel Interchange fix as proposed by
Ajaya Babu Anne <anneajaya_at_gmail.com>

Signed-off-by: Dirk Behme <dirk.behme_at_de.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 years ago[PATCH] ARM: OMAP: USB clock changes from Juha
Tony Lindgren [Tue, 3 Jan 2006 17:39:24 +0000 (09:39 -0800)]
[PATCH] ARM: OMAP: USB clock changes from Juha

This patch from Juha Yrjola adds two missing USB clocks.

Please note that CONFIG_OMAP_RESET_CLOCKS may still need to be
disabled in .config for USB to work on some platforms (OSK).

18 years ago[PATCH] ARM: OMAP: Remove warning
Dirk Behme [Tue, 3 Jan 2006 17:25:25 +0000 (09:25 -0800)]
[PATCH] ARM: OMAP: Remove warning

arch/arm/mach-omap1/pm.c: In function do_sleep'
if CONFIG_OMAP_MPU_TIMER is defined.

Signed-off-by: Dirk Behme <dirk.behme_at_de.bosch.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 years ago[PATCH] ARM: OMAP: OMAP touchscreen timer BUG
Todd Poynor [Tue, 3 Jan 2006 17:33:46 +0000 (09:33 -0800)]
[PATCH] ARM: OMAP: OMAP touchscreen timer BUG

Fix OMAP touchscreen timer restart BUG.

kernel BUG at include/linux/timer.h:83!
[<c002ac60>] (__bug+0x0/0x58) from [<c01a3fbc>] (omap_ts_handler+0x60/0x78)
[<c01a3f5c>] (omap_ts_handler+0x0/0x78) from [<c00269fc>] (__do_irq+0x4c/0x8c)

which is:

static inline void add_timer(struct timer_list *timer)
{
        BUG_ON(timer_pending(timer));
        __mod_timer(timer, timer->expires);

Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 years ago[PATCH] ARM: OMAP: fix omap keypad
Brian Swetland [Tue, 3 Jan 2006 17:16:21 +0000 (09:16 -0800)]
[PATCH] ARM: OMAP: fix omap keypad

- register an "omap-keypad" device so that the keypad
  driver actually gets probed
- initialize kp_tasklet.data so that we don't crash the
  first time the keypad tasklet runs

18 years ago[PATCH] ARM: OMAP: Fix fb driver miscompile
Todd Poynor [Tue, 3 Jan 2006 17:12:29 +0000 (09:12 -0800)]
[PATCH] ARM: OMAP: Fix fb driver miscompile

Fix fb driver miscompile

18 years ago[PATCH] ARM: OMAP: Fix audio driver miscompile
Todd Poynor [Tue, 3 Jan 2006 17:08:04 +0000 (09:08 -0800)]
[PATCH] ARM: OMAP: Fix audio driver miscompile

Fix audio driver miscompile

18 years agoARM: OMAP: Fix an omapfb macro definition to use parentheses
Imre Deak [Mon, 2 Jan 2006 15:57:35 +0000 (17:57 +0200)]
ARM: OMAP: Fix an omapfb macro definition to use parentheses

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Juha Yrjölä <juha.yrjola@nokia.com>
18 years agoARM: OMAP: Fix OMAP2 DPLL clock rate calculation for large multipliers
Imre Deak [Mon, 2 Jan 2006 15:53:35 +0000 (17:53 +0200)]
ARM: OMAP: Fix OMAP2 DPLL clock rate calculation for large multipliers

If the multiplier is large enough the result may not fit in 32 bits.
Use a 64-bit scratch variable and 64-bit division instead.

18 years agoARM: OMAP: Support for new Retu chips
Juha Yrjola [Wed, 21 Dec 2005 20:18:45 +0000 (22:18 +0200)]
ARM: OMAP: Support for new Retu chips

Signed-off-by: Juha Yrjölä <juha.yrjola@nokia.com>
18 years agoomapfb: Change the clocking of the LCD panel on H3
Todd Poynor [Tue, 20 Dec 2005 12:14:19 +0000 (14:14 +0200)]
omapfb: Change the clocking of the LCD panel on H3

Set pixel clock to 12000, disable usage of the pcd field.

Tux logo appears fine and so does IceWM under Xfbdev.

Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Juha Yrjölä <juha.yrjola@nokia.com>
18 years agoomapfb: panel enable/disable reordering
Brian Swetland [Tue, 20 Dec 2005 12:08:38 +0000 (14:08 +0200)]
omapfb: panel enable/disable reordering

Some LCD panels require the pixel clock to be active before being
able to enable them.

Signed-off-by: Brian Swetland <swetland@google.com>
Signed-off-by: Juha Yrjölä <juha.yrjola@nokia.com>
18 years agoARM: OMAP: Change watchdog driver_name back to "omap_wdt"
Komal Shah [Tue, 20 Dec 2005 11:22:16 +0000 (13:22 +0200)]
ARM: OMAP: Change watchdog driver_name back to "omap_wdt"

A previous patch mistakenly renamed the watchdog driver's driver_name.

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Juha Yrjölä <juha.yrjola@nokia.com>
18 years agoARM: OMAP: Support for 7-bit backlight register on new Tahvo chips
Juha Yrjola [Fri, 9 Dec 2005 15:47:04 +0000 (17:47 +0200)]
ARM: OMAP: Support for 7-bit backlight register on new Tahvo chips

18 years agoARM: OMAP: Make gpio-switch driver compile again
Juha Yrjola [Thu, 8 Dec 2005 02:01:23 +0000 (04:01 +0200)]
ARM: OMAP: Make gpio-switch driver compile again

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
18 years agoARM: OMAP: Add CBUS support
Juha Yrjola [Thu, 8 Dec 2005 01:37:06 +0000 (03:37 +0200)]
ARM: OMAP: Add CBUS support

CBUS is the bus that Energy Management ASICs are connected to on
some Nokia mobile devices. Added support for CBUS and two EM ASIC
drivers.

Also added board config structures for some of the Nokia 770 drivers.

18 years agov2.6.15-rc4-omap1
Tony Lindgren [Fri, 2 Dec 2005 01:00:08 +0000 (17:00 -0800)]
v2.6.15-rc4-omap1

18 years agoMerge with ../linux-2.6
Tony Lindgren [Fri, 2 Dec 2005 00:45:40 +0000 (16:45 -0800)]
Merge with ../linux-2.6

18 years ago[PATCH] ARM: OMAP: RTC: Use struct platform driver
Komal Shah [Fri, 2 Dec 2005 00:39:39 +0000 (16:39 -0800)]
[PATCH] ARM: OMAP: RTC: Use struct platform driver

omap-rtc: Use struct platform_driver

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 years ago[PATCH] ARM: OMAP: OSS AUDIO: Use struct platform driver and compilation fix
Komal Shah [Fri, 2 Dec 2005 00:38:30 +0000 (16:38 -0800)]
[PATCH] ARM: OMAP: OSS AUDIO: Use struct platform driver and compilation fix

oss/omap-audio: Use struct platform_driver and compilation fix.
Used __SEMAPHORE_INIT(name,count) instead of DECLARE_MUTEX().

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 years ago[PATCH] ARM: OMAP: ALSA AUDIO: Use struct platform driver
Komal Shah [Fri, 2 Dec 2005 00:37:13 +0000 (16:37 -0800)]
[PATCH] ARM: OMAP: ALSA AUDIO: Use struct platform driver

alsa/omap-audio: Use struct platform_driver

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 years ago[PATCH] ARM: OMAP: NAND: Use struct platform driver
Komal Shah [Fri, 2 Dec 2005 00:36:04 +0000 (16:36 -0800)]
[PATCH] ARM: OMAP: NAND: Use struct platform driver

NAND: Use struct platform_driver

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 years ago[PATCH] ARM: OMAP: TOUCHSCREEN: Use struct platform driver
Komal Shah [Fri, 2 Dec 2005 00:34:40 +0000 (16:34 -0800)]
[PATCH] ARM: OMAP: TOUCHSCREEN: Use struct platform driver

TOUCHSCREEN: Use struct platform_driver

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 years agoARM: OMAP: Add memory.c for memory timings on 24xx
Tony Lindgren [Fri, 2 Dec 2005 00:31:45 +0000 (16:31 -0800)]
ARM: OMAP: Add memory.c for memory timings on 24xx

Both clock.c and pm.c will need to access the memory timings

18 years agoLinux v2.6.15-rc4 v2.6.15-rc4
Linus Torvalds [Thu, 1 Dec 2005 06:25:15 +0000 (22:25 -0800)]
Linux v2.6.15-rc4

18 years agoARM: OMAP: Cosmetic move of PM higher up in the Makefile
Tony Lindgren [Thu, 1 Dec 2005 01:38:51 +0000 (17:38 -0800)]
ARM: OMAP: Cosmetic move of PM higher up in the Makefile

Cosmetic move of PM higher up in the Makefile

18 years agoARM: OMAP: Move omap1 PM support to arch/arm/mach-omap1
Tony Lindgren [Thu, 1 Dec 2005 01:24:32 +0000 (17:24 -0800)]
ARM: OMAP: Move omap1 PM support to arch/arm/mach-omap1

Move omap1 PM support to arch/arm/mach-omap1

18 years agoARM: OMAP: Merge in Nokia 770 PM code for 16xx
Tony Lindgren [Thu, 1 Dec 2005 01:08:21 +0000 (17:08 -0800)]
ARM: OMAP: Merge in Nokia 770 PM code for 16xx

This patch is based on the Nokia 770 PM code available at:

http://repository.maemo.org/pool/maemo1.1rc7/free/source/k/kernel-source-2.6.12.3/

18 years agoMerge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Steve French [Wed, 30 Nov 2005 23:56:59 +0000 (15:56 -0800)]
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git

18 years ago[PATCH] ARM: OMAP: NAND flash driver model
Ladislav Michl [Wed, 30 Nov 2005 20:37:57 +0000 (12:37 -0800)]
[PATCH] ARM: OMAP: NAND flash driver model

NAND flash driver model

18 years agoRevert "[PATCH] pci_ids.h: remove duplicate entries"
Linus Torvalds [Wed, 30 Nov 2005 18:22:30 +0000 (10:22 -0800)]
Revert "[PATCH] pci_ids.h: remove duplicate entries"

This reverts commit c9d6073fb3cda856132dd544d537679f9715436c.

It was totally bogus.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoVM: add "vm_insert_page()" function
Linus Torvalds [Wed, 30 Nov 2005 17:35:19 +0000 (09:35 -0800)]
VM: add "vm_insert_page()" function

This is what a lot of drivers will actually want to use to insert
individual pages into a user VMA.  It doesn't have the old PageReserved
restrictions of remap_pfn_range(), and it doesn't complain about partial
remappings.

The page you insert needs to be a nice clean kernel allocation, so you
can't insert arbitrary page mappings with this, but that's not what
people want.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6
Linus Torvalds [Wed, 30 Nov 2005 16:49:20 +0000 (08:49 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6

18 years ago[PATCH] SiS DRM: Fix possible NULL dereference
Egbert Eich [Wed, 30 Nov 2005 14:32:59 +0000 (15:32 +0100)]
[PATCH] SiS DRM: Fix possible NULL dereference

This fixes a NULL pointer reference in DRM.  The SiS driver tries to
allocate a big chunk of memory, but the return value is never checked.

Reported in Novell bugzilla #132271:
  https://bugzilla.novell.com/show_bug.cgi?id=132271

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[CIFS] For previous fix, mode on mkdir needed S_IFDIR left out.
Steve French [Wed, 30 Nov 2005 06:38:43 +0000 (22:38 -0800)]
[CIFS] For previous fix, mode on mkdir needed S_IFDIR left out.

Signed-off-by: Steve French <sfrench@us.ibm.com>
18 years ago[PATCH] USB: ehci fixups
David Brownell [Mon, 28 Nov 2005 16:40:38 +0000 (08:40 -0800)]
[PATCH] USB: ehci fixups

Rename the EHCI "reset" routine so it better matches what it does (setup);
and move the one-time data structure setup earlier, before doing anything
that implicitly relies on it having been completed already.

From: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: Fix USB suspend/resume crasher (#2)
Benjamin Herrenschmidt [Thu, 24 Nov 2005 22:59:46 +0000 (09:59 +1100)]
[PATCH] USB: Fix USB suspend/resume crasher (#2)

This patch closes the IRQ race and makes various other OHCI & EHCI code
path safer vs. suspend/resume.
I've been able to (finally !) successfully suspend and resume various
Mac models, with or without USB mouse plugged, or plugging while asleep,
or unplugging while asleep etc... all without a crash.

Alan, please verify the UHCI bit I did, I only verified that it builds.
It's very simple so I wouldn't expect any issue there. If you aren't
confident, then just drop the hunks that change uhci-hcd.c

I also made the patch a little bit more "safer" by making sure the store
to the interrupt register that disables interrupts is not posted before
I set the flag and drop the spinlock.

Without this patch, you cannot reliably sleep/wakeup any recent Mac, and
I suspect PCs have some more sneaky issues too (they don't frankly crash
with machine checks because x86 tend to silently swallow PCI errors but
that won't last afaik, at least PCI Express will blow up in those
situations, but the USB code may still misbehave).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] Additional device ID for Conexant AccessRunner USB driver
Dave Jones [Mon, 28 Nov 2005 18:44:52 +0000 (13:44 -0500)]
[PATCH] Additional device ID for Conexant AccessRunner USB driver

Reported as working in Fedora bugzilla by Petr.

From: Petr Tuma <petr.tuma@mff.cuni.cz>
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] USB: documentation update
Alan Stern [Mon, 28 Nov 2005 20:22:55 +0000 (15:22 -0500)]
[PATCH] USB: documentation update

This patch (as611) fixes a minor mistake and misspelling in the USB
documentation.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] pci_ids.h: remove duplicate entries
Grant Coady [Thu, 24 Nov 2005 09:41:06 +0000 (20:41 +1100)]
[PATCH] pci_ids.h: remove duplicate entries

G'day Albert, Andrew,

commit 4fb80634d30f5e639a92b78c8f215f96a61ba8c7
Author: Albert Lee <albertcc@tw.ibm.com>
Date:   Thu May 12 15:49:21 2005 -0400

duplicates symbols already appearing in pci_ids.h, appended patch
removes them again :o)

From: Grant Coady <gcoady@gmail.com>

pci_ids: commit 4fb80634d30f5e639a92b78c8f215f96a61ba8c7 duplicated a
couple existing symbols in pci_ids.h, remove them.

Signed-off-by: Grant Coady <gcoady@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[PATCH] hwmon: w83792d fix unused fan pins
Jean Delvare [Tue, 29 Nov 2005 21:27:14 +0000 (22:27 +0100)]
[PATCH] hwmon: w83792d fix unused fan pins

1. This patch add check for fan4,5,6,7 and do not create device file
   if their pins are not configured as fan.
2. Fix the issue that can not set fan divisor to 128.
3. Fix the index out of bounds bug in w83792d_detect function.

Signed-off-by: Yuan Mu <ymu@winbond.com.tw>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 years ago[CIFS] Missing parenthesis and typo in previous fix
Steve French [Wed, 30 Nov 2005 05:22:19 +0000 (21:22 -0800)]
[CIFS] Missing parenthesis and typo in previous fix

Signed-off-by: Steve French <sfrench@us.ibm.com>
18 years agoMerge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Steve French [Wed, 30 Nov 2005 04:56:07 +0000 (20:56 -0800)]
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git

18 years ago[CIFS] Fix umount --force to wake up the pending response queue, not just
Steve French [Wed, 30 Nov 2005 04:55:11 +0000 (20:55 -0800)]
[CIFS] Fix umount --force to wake up the pending response queue, not just
the request queue. Also periodically wakeup response_q so threads can
check if stuck requests have timed out. Workaround Windows server illegal smb
length on transact2 findfirst response.

Signed-off-by: Steve French <sfrench@us.ibm.com>
18 years ago[CIFS] Fix missing permission check on setattr when noperm mount option is
Steve French [Wed, 30 Nov 2005 04:20:10 +0000 (20:20 -0800)]
[CIFS] Fix missing permission check on setattr when noperm mount option is
disabled.  Also set mode, uid, gid better on mkdir and create for the
case when Unix Extensions is not enabled and setuids is enabled. This is
necessary to fix the hole in which chown could be allowed for non-root
users in some cases if root mounted, and also to display the mode and uid
properly in some cases.

Signed-off-by: Steve French <sfrench@us.ibm.com>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc-merge
Linus Torvalds [Wed, 30 Nov 2005 04:17:08 +0000 (20:17 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc-merge

18 years ago[PATCH] fbdev: cg3fb: Kconfig fix
Mark Fortescue [Wed, 30 Nov 2005 03:34:44 +0000 (19:34 -0800)]
[PATCH] fbdev: cg3fb: Kconfig fix

A cut and past error regarding the CG3 frame buffer needs to be fixed.  It
also affects Creator/Creator3D/Elite3D.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] fbdev: cirrusfb: Driver cleanup and bug fixes
Antonino A. Daplas [Wed, 30 Nov 2005 03:34:43 +0000 (19:34 -0800)]
[PATCH] fbdev: cirrusfb: Driver cleanup and bug fixes

- pseudo_palette is only 16 entries long

- the pseudo_palette, if using the generic drawing functions, must always be
  u32 regardless of bpp

- the fillrect accelerator is using region->color regardless of the visual.
  region->color is the index to the pseudo_palette if visual is truecolor

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] setting irq affinity is broken in ia32 with MSI enabled
Shaohua Li [Wed, 30 Nov 2005 03:34:42 +0000 (19:34 -0800)]
[PATCH] setting irq affinity is broken in ia32 with MSI enabled

Setting irq affinity stops working when MSI is enabled.  With MSI, move_irq
is empty, so we can't change irq affinity.  It appears a typo in Ashok's
original commit for this issue.  X86_64 actually is using move_native_irq.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] hfsplus: don't modify journaled volume
Roman Zippel [Wed, 30 Nov 2005 03:34:41 +0000 (19:34 -0800)]
[PATCH] hfsplus: don't modify journaled volume

Access to a journaled HFS+ volume is not officially supported under Linux, so
mount such a volume read-only, but users can override this behaviour using the
"force" mount option.

The minimum requirement to relax this check is to at least check that the
journal is empty and so nothing needs to be replayed to make sure the volume
is consistent.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] reiserfs: handle cnode allocation failure gracefully
Jeff Mahoney [Wed, 30 Nov 2005 03:34:39 +0000 (19:34 -0800)]
[PATCH] reiserfs: handle cnode allocation failure gracefully

If an external device is used for a journal, by default it will use the
entire device.  The reiserfs journal code allocates structures per journal
block when it mounts the file system.  If the journal device is too large,
and memory cannot be allocated for the structures, it will continue and
ultimately panic when it can't pull one off the free list.

This patch handles the allocation failure gracefully and prints an error
message at mount time.

Changes: Updated error message to be more descriptive to the user.

Discussed and approved on ReiserFS Mailing List, Nov 28.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] ppc: fix floating point register corruption
Paolo Galtieri [Wed, 30 Nov 2005 03:34:38 +0000 (19:34 -0800)]
[PATCH] ppc: fix floating point register corruption

I recently discovered a bug on PPC which causes the floating point
registers to get corrupted when CONFIG_PREEMPT=y.

The problem occurred while running a multi threaded Java application that
does floating point.  The problem could be reproduced in anywhere from 2 to
6 hours.  With the patch I have included below it ran for over a week
without failure.

Signed-off-by: Paolo Galtieri <pgaltieri@mvista.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Tom Rini <trini@kernel.crashing.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] fix swsusp on machines not supporting S4
Pavel Machek [Wed, 30 Nov 2005 03:34:37 +0000 (19:34 -0800)]
[PATCH] fix swsusp on machines not supporting S4

Fix swsusp on machines not supporting S4.  With recent changes, it is not
possible to trigger it using /sys filesystem.  Swsusp does not really need
any support from low-level code, it is possible to reboot or halt at the
end of suspend.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] fix rebooting on HP nc6120 laptop
Thierry Vignaud [Wed, 30 Nov 2005 03:34:35 +0000 (19:34 -0800)]
[PATCH] fix rebooting on HP nc6120 laptop

Anne NICOLAS <anne.nicolas@mandriva.com> and Andres Kaaber
<andres.kaaber@rescue.ee> reported their HP laptop didn't reboot smoothly.

Signed-off-by: Thierry Vignaud <tvignaud@mandriva.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Fix crash when ptrace poking hugepage areas
David Gibson [Wed, 30 Nov 2005 03:34:32 +0000 (19:34 -0800)]
[PATCH] Fix crash when ptrace poking hugepage areas

set_page_dirty() will not cope with being handed a page * which is part of
a compound page, but not the master page in that compound page.  This case
can occur via access_process_vm() if you attemp to write to another
process's hugepage memory area using ptrace() (causing an oops or hang).

This patch fixes the bug by only calling set_page_dirty() from
access_process_vm() if the page is not a compound page.  We already use a
similar fix in bio_set_pages_dirty() for the case of direct io to
hugepages.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] process events connector: uid_t gid_t size issues
Matt Helsley [Wed, 30 Nov 2005 03:34:31 +0000 (19:34 -0800)]
[PATCH] process events connector: uid_t gid_t size issues

The uid_t and gid_t fields appear to present a 32/64-bit userspace/kernel
problem for some archs.

This patch addresses the problem by fixing the size to the largest size for
uid_t/gid_t used in the kernel.  This preserves the total size of the event
structure while ensuring that the layouts of the ID change event match in
32 and 64-bit kernels and applications.

Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] powerpc: prevent stack corruption in call_prom_ret
Olaf Hering [Tue, 29 Nov 2005 13:04:05 +0000 (14:04 +0100)]
[PATCH] powerpc: prevent stack corruption in call_prom_ret

Use the correct pointer to clear the memory of the return values,
to prevent stack corruption in the callers stackframe.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years agopowerpc: Fix bug causing FP registers corruption on UP + preempt
Paul Mackerras [Wed, 30 Nov 2005 02:20:54 +0000 (13:20 +1100)]
powerpc: Fix bug causing FP registers corruption on UP + preempt

This fixes a bug noticed by Paolo Galtieri and fixed for ARCH=ppc in
the previous commit (ppc: fix floating point register corruption).
This fixes the arch/powerpc code by adding preempt_disable/enable,
and also cleans it up a bit by pulling out the code that discards
any lazily-switched CPU register state into a new function, rather
than having that code repeated in three places.

Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years ago[PATCH] ppc: fix floating point register corruption
Paolo Galtieri [Tue, 29 Nov 2005 22:26:47 +0000 (14:26 -0800)]
[PATCH] ppc: fix floating point register corruption

I recently discovered a bug on PPC which causes the floating point
registers to get corrupted when CONFIG_PREEMPT=y.

The problem occurred while running a multi threaded Java application that
does floating point.  The problem could be reproduced in anywhere from 2 to
6 hours.  With the patch I have included below it ran for over a week
without failure.

Signed-off-by: Paolo Galtieri <pgaltieri@mvista.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Tom Rini <trini@kernel.crashing.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Wed, 30 Nov 2005 01:32:08 +0000 (17:32 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6

18 years ago[PATCH] VM: Fix typos in get_locked_pte
Trond Myklebust [Wed, 30 Nov 2005 00:27:22 +0000 (19:27 -0500)]
[PATCH] VM: Fix typos in get_locked_pte

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoMerge with /home/tmlind/src/kernel/linux-2.6
Tony Lindgren [Wed, 30 Nov 2005 00:54:53 +0000 (16:54 -0800)]
Merge with /home/tmlind/src/kernel/linux-2.6

18 years agoMerge with /home/tmlind/src/kernel/linux-2.6
Tony Lindgren [Wed, 30 Nov 2005 00:48:00 +0000 (16:48 -0800)]
Merge with /home/tmlind/src/kernel/linux-2.6

18 years ago[IPV6]: make two functions static
Adrian Bunk [Wed, 30 Nov 2005 00:28:56 +0000 (16:28 -0800)]
[IPV6]: make two functions static

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NETFILTER] ipv4: small cleanups
Adrian Bunk [Wed, 30 Nov 2005 00:28:18 +0000 (16:28 -0800)]
[NETFILTER] ipv4: small cleanups

This patch contains the following cleanups:
- make needlessly global code static
- ip_conntrack_core.c: ip_conntrack_flush() -> ip_conntrack_flush(void)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[IPV4]: make two functions static
Adrian Bunk [Wed, 30 Nov 2005 00:27:20 +0000 (16:27 -0800)]
[IPV4]: make two functions static

This patch makes two needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[NET]: Add const markers to various variables.
Arjan van de Ven [Wed, 30 Nov 2005 00:21:38 +0000 (16:21 -0800)]
[NET]: Add const markers to various variables.

the patch below marks various variables const in net/; the goal is to
move them to the .rodata section so that they can't false-share
cachelines with things that get written to, as well as potentially
helping gcc a bit with optimisations.  (these were found using a gcc
patch to warn about such variables)

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: [adummy] dummy ATM driver (similar to net/dummy)
Chas Williams [Wed, 30 Nov 2005 00:17:11 +0000 (16:17 -0800)]
[ATM]: [adummy] dummy ATM driver (similar to net/dummy)

Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: deregistration removes device from atm_devs list immediately
Stanislaw Gruszka [Wed, 30 Nov 2005 00:16:41 +0000 (16:16 -0800)]
[ATM]: deregistration removes device from atm_devs list immediately

atm_dev_deregister() removes device from atm_dev list immediately to
prevent operations on a phantom device.  Decision to free device based
only on ->refcnt  now. Remove shutdown_atm_dev() use atm_dev_deregister()
instead.  atm_dev_deregister() also asynchronously releases all vccs
related to device.

Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: avoid race conditions related to atm_devs list
Stanislaw Gruszka [Wed, 30 Nov 2005 00:16:21 +0000 (16:16 -0800)]
[ATM]: avoid race conditions related to atm_devs list

Use semaphore to protect atm_devs list, as no one need access to it from
interrupt context.  Avoid race conditions between atm_dev_register(),
atm_dev_lookup() and atm_dev_deregister().  Fix double spin_unlock() bug.

Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: [lanai] kill lanai_ioctl() which just contains some old debugging code
Mitchell Blank Jr [Wed, 30 Nov 2005 00:15:59 +0000 (16:15 -0800)]
[ATM]: [lanai] kill lanai_ioctl() which just contains some old debugging code

Signed-off-by: Mitchell Blank Jr <mitch@sfgoth.com>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: linux/config.h only needed for #ifdef __KERNEL__ section
Chas Williams [Wed, 30 Nov 2005 00:15:38 +0000 (16:15 -0800)]
[ATM]: linux/config.h only needed for #ifdef __KERNEL__ section

Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: attempt to autoload atm drivers
Mitchell Blank Jr [Wed, 30 Nov 2005 00:15:18 +0000 (16:15 -0800)]
[ATM]: attempt to autoload atm drivers

From: Mitchell Blank Jr <mitch@sfgoth.com>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: drivers/atm/atmdev_init.c no longer necessary
Jan Pieter [Wed, 30 Nov 2005 00:14:58 +0000 (16:14 -0800)]
[ATM]: drivers/atm/atmdev_init.c no longer necessary

From: Jan Pieter <pptp@jp.dhs.org>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: [lanai] lanai missing unregister
Dave Jones [Wed, 30 Nov 2005 00:14:33 +0000 (16:14 -0800)]
[ATM]: [lanai] lanai missing unregister

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: [lanai] better constification
Mitchell Blank Jr [Wed, 30 Nov 2005 00:14:12 +0000 (16:14 -0800)]
[ATM]: [lanai] better constification

Signed-off-by: Mitchell Blank Jr <mitch@sfgoth.com>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: atm_pcr_goal() doesn't modify its argument's contents -- mark it as const
Mitchell Blank Jr [Wed, 30 Nov 2005 00:13:55 +0000 (16:13 -0800)]
[ATM]: atm_pcr_goal() doesn't modify its argument's contents -- mark it as const

Signed-off-by: Mitchell Blank Jr <mitch@sfgoth.com>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[ATM]: always return the first interface for ATM_ITF_ANY
Mitchell Blank Jr [Wed, 30 Nov 2005 00:13:32 +0000 (16:13 -0800)]
[ATM]: always return the first interface for ATM_ITF_ANY

From: Mitchell Blank Jr <mitch@sfgoth.com>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 years ago[IPV4] tcp/route: Another look at hash table sizes
Mike Stroyan [Wed, 30 Nov 2005 00:12:55 +0000 (16:12 -0800)]
[IPV4] tcp/route: Another look at hash table sizes

  The tcp_ehash hash table gets too big on systems with really big memory.
It is worse on systems with pages larger than 4KB.  It wastes memory that
could be better used.  It also makes the netstat command slow because reading
/proc/net/tcp and /proc/net/tcp6 needs to go through the full hash table.

  The default value should not be larger for larger page sizes.  It seems
that the effect of page size is an unintended error dating back a long
time.  I also wonder if the default value really should be a larger
fraction of memory for systems with more memory.  While systems with
really big ram can afford more space for hash tables, it is not clear to
me that they benefit from increasing the allocation ratio for this table.

  The amount of memory allocated is determined by net/ipv4/tcp.c:tcp_init and
mm/page_alloc.c:alloc_large_system_hash.

tcp_init calls alloc_large_system_hash passing parameters-
    bucketsize=sizeof(struct tcp_ehash_bucket)
    numentries=thash_entries
    scale=(num_physpages >= 128 * 1024) ? (25-PAGE_SHIFT) : (27-PAGE_SHIFT)
    limit=0

On i386, PAGE_SHIFT is 12 for a page size of 4K
On ia64, PAGE_SHIFT defaults to 14 for a page size of 16K

The num_physpages test above makes the allocation take a larger fraction
of the total memory on systems with larger memory.  The threshold size
for a i386 system is 512MB.  For an ia64 system with 16KB pages the
threshold is 2GB.

For smaller memory systems-
On i386, scale = (27 - 12) = 15
On ia64, scale = (27 - 14) = 13
For larger memory systems-
On i386, scale = (25 - 12) = 13
On ia64, scale = (25 - 14) = 11

  For the rest of this discussion, I'll just track the larger memory case.

  The default behavior has numentries=thash_entries=0, so the allocated
size is determined by either scale or by the default limit of 1/16 of
total memory.

In alloc_large_system_hash-
| numentries = (flags & HASH_HIGHMEM) ? nr_all_pages : nr_kernel_pages;
| numentries += (1UL << (20 - PAGE_SHIFT)) - 1;
| numentries >>= 20 - PAGE_SHIFT;
| numentries <<= 20 - PAGE_SHIFT;

  At this point, numentries is pages for all of memory, rounded up to the
nearest megabyte boundary.

| /* limit to 1 bucket per 2^scale bytes of low memory */
| if (scale > PAGE_SHIFT)
| numentries >>= (scale - PAGE_SHIFT);
| else
| numentries <<= (PAGE_SHIFT - scale);

On i386, numentries >>= (13 - 12), so numentries is 1/8196 of
bytes of total memory.
On ia64, numentries <<= (14 - 11), so numentries is 1/2048 of
bytes of total memory.

|        log2qty = long_log2(numentries);
|
|        do {
|                size = bucketsize << log2qty;

bucketsize is 16, so size is 16 times numentries, rounded
down to a power of two.

On i386, size is 1/512 of bytes of total memory.
On ia64, size is 1/128 of bytes of total memory.

For smaller systems the results are
On i386, size is 1/2048 of bytes of total memory.
On ia64, size is 1/512 of bytes of total memory.

  The large page effect can be removed by just replacing
the use of PAGE_SHIFT with a constant of 12 in the calls to
alloc_large_system_hash.  That makes them more like the other uses of
that function from fs/inode.c and fs/dcache.c

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Linus Torvalds [Tue, 29 Nov 2005 22:23:38 +0000 (14:23 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6

18 years agoMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
Linus Torvalds [Tue, 29 Nov 2005 22:23:21 +0000 (14:23 -0800)]
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6

18 years agoRevert "[PATCH] drivers/message/fusion/mptbase.c: make code static"
Linus Torvalds [Tue, 29 Nov 2005 22:21:57 +0000 (14:21 -0800)]
Revert "[PATCH] drivers/message/fusion/mptbase.c: make code static"

This reverts commit 252ac865535e1ea9cc2d28be83f477d8d8b961a2.

It impacts the LSI customers using the mptstm target mode drivers
(source tar-ball at

  ftp://ftp.lsil.com/HostAdapterDrivers/linux/Fusion-MPT/mptstm-1.00.13-src.tar.gz

for those who care).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] pfnmap: do_no_page BUG_ON again
Hugh Dickins [Tue, 29 Nov 2005 16:55:48 +0000 (16:55 +0000)]
[PATCH] pfnmap: do_no_page BUG_ON again

Use copy_user_highpage directly instead of cow_user_page in do_no_page:
in the immediately following page_cache_release, and elsewhere, it is
assuming that new_page is normal.  If any VM_PFNMAP driver can get to
do_no_page, it's just a BUG (but not in the case of do_anonymous_page).

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] pfnmap: remove src_page from do_wp_page
Hugh Dickins [Tue, 29 Nov 2005 16:54:51 +0000 (16:54 +0000)]
[PATCH] pfnmap: remove src_page from do_wp_page

Clean away do_wp_page's "src_page": cow_user_page makes it unnecessary.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agocow_user_page: fix page alignment
Linus Torvalds [Tue, 29 Nov 2005 22:07:55 +0000 (14:07 -0800)]
cow_user_page: fix page alignment

High Dickins points out that the user virtual address passed to the page
fault handler isn't necessarily page-aligned.

Also, add a comment on why the copy could fail for the user address case.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoVM: add common helper function to create the page tables
Linus Torvalds [Tue, 29 Nov 2005 22:03:14 +0000 (14:03 -0800)]
VM: add common helper function to create the page tables

This logic was duplicated four times, for no good reason.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[SPARC64]: Fix >8K I/O mappings.
David S. Miller [Tue, 29 Nov 2005 21:59:03 +0000 (13:59 -0800)]
[SPARC64]: Fix >8K I/O mappings.

Increment the PFN field of the PTE so that the tests
on vm_pfn in mm/memory.c match up.  The TLB ignores these
lower bits for larger page sizes, so it's OK to set things
like this.

Signed-off-by: David S. Miller <davem@davemloft.net>
18 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6
Linus Torvalds [Tue, 29 Nov 2005 21:04:07 +0000 (13:04 -0800)]
Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6

18 years ago[PATCH] fix megaraid.c locking
Christoph Hellwig [Tue, 29 Nov 2005 20:36:16 +0000 (21:36 +0100)]
[PATCH] fix megaraid.c locking

This fixes locking in megaraid.c, namely:

 (1) make sure megaraid_queue release the adapter lock by changing the
     code to have a single return
 (2) remove the errornous scsi_assign_lock call

Testing by Burton Windle.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Burton Windle <bwindle@fint.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years agoSupport strange discontiguous PFN remappings
Linus Torvalds [Tue, 29 Nov 2005 21:01:56 +0000 (13:01 -0800)]
Support strange discontiguous PFN remappings

These get created by some drivers that don't generally even want a pfn
remapping at all, but would really mostly prefer to just map pages
they've allocated individually instead.

For now, create a helper function that turns such an incomplete PFN
remapping call into a loop that does that explicit mapping.  In the long
run we almost certainly want to export a totally different interface for
that, though.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[PATCH] Fix missing pfn variables caused by vm changes
Ben Collins [Tue, 29 Nov 2005 19:45:26 +0000 (11:45 -0800)]
[PATCH] Fix missing pfn variables caused by vm changes

I image this showed up because of "unused var..." when the changes
occured, because flush_cache_page() is a noop in most places.  This
showed up for me on parisc however, where flush_cache_page() is a real
function.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 years ago[MTD] Make functions static, include header files with prototypes
Adrian Bunk [Tue, 29 Nov 2005 14:49:38 +0000 (14:49 +0000)]
[MTD] Make functions static, include header files with prototypes

This patch contains the following possible cleanups:
- every file should #include the headers containing the prototypes for
  it's global functions
- make needlessly global functions static

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
18 years ago[MTD] chips: make sharps driver usable again
Richard Purdie [Tue, 29 Nov 2005 14:28:31 +0000 (14:28 +0000)]
[MTD] chips: make sharps driver usable again

Update the pre-CFI Sharp driver sharps.c so it compiles.  map_read32 /
map_write32 no longer exist in the kernel so the driver is totally broken
as it stands.  The replacement functions use different parameters resulting
in the other changes.

Change collie to use this driver until someone works out why the cfi driver
fails on that machine.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Tested-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
18 years ago[MTD] Remove bogus PQ2FADS driver
Thomas Gleixner [Mon, 28 Nov 2005 22:36:12 +0000 (22:36 +0000)]
[MTD] Remove bogus PQ2FADS driver

Remove disfunctional driver, which slipped through the review mechanism

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
18 years ago[MTD] maps: sparse fixup
Luiz Capitulino [Tue, 29 Nov 2005 14:30:03 +0000 (14:30 +0000)]
[MTD] maps: sparse fixup

The patch below fixes the following sparse warning:

drivers/mtd/maps/nettel.c:482:27: warning: Using plain integer as NULL pointer

Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>