Jesse Barnes [Sun, 22 Aug 2004 05:30:28 +0000 (22:30 -0700)]
[PATCH] ACPI for 2.6
Define acpi_noirq on ia64 since it's used now in pci_link.c. All ia64
machines use ACPI, so we can just define it to 0 like we do for acpi_disabled
and acpi_pci_disabled.
[ARM PATCH] 2023/1: platform_device definitions no longer needed in include/asm-arm/hardware.h
Patch from Michael Opdenacker
Hello,
platform_device definitions are no longer needed in include/asm-arm/hardware.h:
- platform_add_device no longer exists anywhere else in the whole kernel
- other definitions should be taken from include/linux/device.h instead
Russell King [Tue, 17 Aug 2004 12:36:34 +0000 (13:36 +0100)]
[ARM] Deprecate virt_to_bus/bus_to_virt.
These macros don't take account of which bus is actually required,
so they should not be used in new drivers; in fact, new drivers
should use the DMA API.
Andrew Morton [Mon, 16 Aug 2004 08:31:46 +0000 (04:31 -0400)]
[PATCH] libata build fix
drivers/scsi/libata-core.c: In function `swap_buf_le16':
drivers/scsi/libata-core.c:2073: `words' undeclared (first use in this function)
drivers/scsi/libata-core.c:2073: (Each undeclared identifier is reported only once
Tony Lindgren [Sat, 14 Aug 2004 18:36:09 +0000 (19:36 +0100)]
[ARM PATCH] 2008/1: OMAP update 4/6: Include files
Patch from Tony Lindgren
This patch syncs the mainline kernel with the linux-omap tree.
The highlights of the patch are:
- DMA fixes from Samuel Ortiz
- USB low level configuration from David Brownell
- H3 support from Nishant Kamat
- TPS65010 power management interface from Dirk Behme
Tony Lindgren [Sat, 14 Aug 2004 18:27:39 +0000 (19:27 +0100)]
[ARM PATCH] 2007/1: OMAP update 3/6: Arch files
Patch from Tony Lindgren
This patch syncs the mainline kernel with the linux-omap tree.
The highlights of the patch are:
- DMA fixes from Samuel Ortiz
- USB low level configuration from David Brownell
- H3 support from Nishant Kamat
- TPS65010 power management interface from Dirk Behme
Sascha Hauer [Sat, 14 Aug 2004 17:52:19 +0000 (18:52 +0100)]
[ARM PATCH] 1955/3: Motorola i.MX architecture support
Patch from Sascha Hauer
This patch adds support for the Motorola i.MX SoC. It has board
support included for the MX1ADS Eval Board, but the patch has been
tested on two other custom boards as well.
Things changed since Patch 1955/2:
- fixed according to Russell's comments.
- removed unnecassary files from include/asm-arm/arch-imx.
- removed cpufreq support (it needs rework).
- made myself the Maintainer of mx1ads
Nicolas Pitre [Sat, 14 Aug 2004 17:38:14 +0000 (18:38 +0100)]
[ARM PATCH] 1866/4: kernel support for iWMMXt present on some XScale cores
Patch from Nicolas Pitre
This is required for a system with user space binaries using iWMMXt
instructions to even boot (revised again).
It also moves defines for thread_info offsets from magic static
values to the auto generated asm/constants.h in order to better
cope with changing structure offsets and avoid user errors.
Jeff Garzik [Sat, 14 Aug 2004 11:38:01 +0000 (07:38 -0400)]
[libata] add ioctl infrastructure
Mainly adding the infrastructure for various ATA ioctls. Currently
only supports two ATA-specific ioctls:
HDIO_GET_32BIT and HDIO_SET_32BIT (hdparm -c)
Matthew Wilcox [Fri, 13 Aug 2004 02:48:04 +0000 (19:48 -0700)]
[PATCH] Remove fcntl f_op
The newly introduced ->fcntl file_operation is badly thought out,
not to mention undocumented. This patch replaces it with two better
defined operations -- check_flags and dir_notify. Any other fcntl()s
that filesystems are interested in can have their own properly typed
f_op method when they need it.
Marc Singer [Fri, 13 Aug 2004 00:15:44 +0000 (01:15 +0100)]
[ARM PATCH] 2002/1: lh7a40x Timer fixup
Patch from Marc Singer
The work already done to rectify the timer code initialization missed
a necessary change. This patch adds a timer initialization function
to the LPD7A400 machine type. It also makes a small correction to the
kernel configuration that is out of step with the machine specific
Kconfig.
Marc Singer [Fri, 13 Aug 2004 00:08:22 +0000 (01:08 +0100)]
[ARM PATCH] 2001/1: lh7a40x IDE cleanup
Patch from Marc Singer
This patch aligns the lh7a40x port with the updated structure of IDE
drivers. It also removes an unused FIQ handler. This patch is made
in order to get the lh7a40x port to build.
Catalin Marinas [Thu, 12 Aug 2004 18:09:50 +0000 (19:09 +0100)]
[ARM PATCH] 2012/1: Use -malignment-traps instead of -mshort-load-bytes if gcc supports it
Patch from Catalin Marinas
This patch replaces the -mshort-load-bytes option with $(call
check_gcc,-malignment-traps,-mshort-load-bytes) in the CFLAGS
setting in arch/arm/Makefile.
Tom Rini [Thu, 12 Aug 2004 11:24:36 +0000 (04:24 -0700)]
[PATCH] ppc32: Fix warning on CONFIG_PPC32 && CONFIG_6xx
In the *ppos cleanups, proc_dol2crvec was updated, but the prototype
found at the top of kernel/sysctl.h was not, generating warning. This
corrects the prototype to match the code.
(I'm gonna take a stab at moving these into arch/ppc shortly)
Signed-off-by: Tom Rini <trini@kernel.crashing.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Linus Torvalds [Thu, 12 Aug 2004 02:43:09 +0000 (19:43 -0700)]
Be a bit more anal about allowing SCSI commands to be sent.
Normal users shouldn't have access to the raw device anyway
unless they are in the trusted "disk" group, but let's require
RAWIO capabilities. That's what the original SCSI interfaces
did anyhoo.
We probably _should_ just require write access, but that will
need more of a code change to pass down the file descriptor.
Jens Axboe [Thu, 12 Aug 2004 02:27:27 +0000 (19:27 -0700)]
[PATCH] setup queue before elevator_init()
We must setup the queue before calling elevator_init(), otherwise the
elevator cannot use the queue members. This really hurts cfq since it
checks ->nr_requests, which is zero at that time.
David Woodhouse [Tue, 10 Aug 2004 16:25:01 +0000 (17:25 +0100)]
Fix use-after-free bug in MTD partitioning code.
Define callback wrapper function mtd_erase_callback() to handle
partition offsets during the callback, rather than attempting to
fix them up in the freed erase_info structure after the callback
has already happened.