sfrench/cifs-2.6.git
16 years agoMerge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
Linus Torvalds [Mon, 27 Aug 2007 16:42:43 +0000 (09:42 -0700)]
Merge branch 'upstream' of git://ftp.linux-mips.org/upstream-linus

* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (60 commits)
  [MIPS] Fulong doesn't need ISA DMA.
  [MIPS] IP27: intr_sconnect_level: don't disable interrupts.
  [MIPS] IP27: startup_bridge_irq: connect interrupt.
  [MIPS] IP27: shutdown_bridge_irq: don't free irq.
  [MIPS] Sort out handling of ISA-less PCI systems.
  [MIPS] Add __cmpdi2
  [MIPS] HOTPLUG: Make register_pci_controller __devinit.
  [MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.
  [MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.
  [MIPS] Delete duplicate inclusion of <linux/delay.h>.
  [MIPS] Polish <asm/edac.h>.
  [MIPS] IP22: Export sgi_gfxaddr for use by the Newport console driver.
  [MIPS] Maintain si_code field properly for FP exceptions
  [MIPS] SMTC: Fix duplicate status dumps on NMI
  [MIPS] Unconditionally writeback and invalidate caches on kexec.
  [PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware
  [MIPS] Fix gcc 3.3 warning.
  [MIPS] Fix invalid semicolon after if statement
  [MIPS] Update Cobalt defconfig
  [MIPS] Update workpad_defconfig
  ...

16 years agoMerge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
Linus Torvalds [Mon, 27 Aug 2007 16:42:21 +0000 (09:42 -0700)]
Merge branch 'merge' of git://git./linux/kernel/git/paulus/powerpc

* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
  [POWERPC] Fix SLB initialization at boot time
  [POWERPC] Fix undefined reference to device_power_up/resume
  [POWERPC] cell: Update cell_defconfig for 2.6.23
  [POWERPC] axonram: Do not delete gendisks queue in error path
  [POWERPC] axonram: Module modification for latest firmware API changes
  [POWERPC] cell: Support pinhole-reset on IBM cell blades
  [POWERPC] spu_manage: Use newer physical-id attribute
  [POWERPC] pasemi: Another IOMMU bugfix for 64K PAGE_SIZE

16 years agoMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6
Linus Torvalds [Mon, 27 Aug 2007 16:30:52 +0000 (09:30 -0700)]
Merge branch 'master' of git://git./linux/kernel/git/kyle/parisc-2.6

* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6:
  [PARISC] Add NOTES section
  [PARISC] Use compat_sys_getdents
  [PARISC] Do not allow STI_CONSOLE to be modular
  [PARISC] Clean up sti_flush
  [PARISC] Add dummy isa_(bus|virt)_to_(virt|bus) inlines
  [PARISC] Add empty <asm-parisc/vga.h>

16 years ago[PARISC] Add NOTES section
Kyle McMartin [Mon, 27 Aug 2007 03:28:34 +0000 (23:28 -0400)]
[PARISC] Add NOTES section

Bisected bizarre kernel-space nullptr dereference in udev to commit
18991197b4b588255ccabf472ebc84db7b66a19c, adding the NOTES section fixes
it.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
16 years ago[PARISC] Use compat_sys_getdents
Kyle McMartin [Fri, 29 Jun 2007 07:38:10 +0000 (03:38 -0400)]
[PARISC] Use compat_sys_getdents

Switch to using the generic compat_sys_getdents instead of a
homebrew one.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
16 years ago[PARISC] Do not allow STI_CONSOLE to be modular
Kyle McMartin [Fri, 29 Jun 2007 06:15:12 +0000 (02:15 -0400)]
[PARISC] Do not allow STI_CONSOLE to be modular

It doesn't really make much sense, anyways, and would need a pile of
symbols exported.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
16 years ago[PARISC] Clean up sti_flush
Kyle McMartin [Fri, 29 Jun 2007 06:17:50 +0000 (02:17 -0400)]
[PARISC] Clean up sti_flush

sti_flush is supposed to flush the caches so we can execute the STI rom
we copied to memory. Anything more than flush_icache_range is overkill.

Fixes a missing symbol when built as a module.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
16 years ago[PARISC] Add dummy isa_(bus|virt)_to_(virt|bus) inlines
Kyle McMartin [Fri, 29 Jun 2007 06:21:03 +0000 (02:21 -0400)]
[PARISC] Add dummy isa_(bus|virt)_to_(virt|bus) inlines

Less painful than fixing up the Kconfig for a pile of drivers to only build
on X86 && ARM && MIPS...

Just make them BUG(), as defining them to be 1:1 with physical memory will
likely HPMC the box anyways.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
16 years ago[PARISC] Add empty <asm-parisc/vga.h>
Kyle McMartin [Thu, 28 Jun 2007 16:12:39 +0000 (12:12 -0400)]
[PARISC] Add empty <asm-parisc/vga.h>

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
16 years ago[MIPS] Fulong doesn't need ISA DMA.
Ralf Baechle [Fri, 24 Aug 2007 15:49:23 +0000 (16:49 +0100)]
[MIPS] Fulong doesn't need ISA DMA.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] IP27: intr_sconnect_level: don't disable interrupts.
Ralf Baechle [Sun, 26 Aug 2007 23:29:11 +0000 (00:29 +0100)]
[MIPS] IP27: intr_sconnect_level: don't disable interrupts.

There is no reason to.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] IP27: startup_bridge_irq: connect interrupt.
Ralf Baechle [Sun, 26 Aug 2007 23:26:58 +0000 (00:26 +0100)]
[MIPS] IP27: startup_bridge_irq: connect interrupt.

shutdown_bridge_irq disconnects the irq so we need to connect the irq or
requesting the same irq a send time will fail.  This used to make
things like ifconfig eth0 down; ifconfig eth0 up fail on IP27.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] IP27: shutdown_bridge_irq: don't free irq.
Ralf Baechle [Sun, 26 Aug 2007 23:19:21 +0000 (00:19 +0100)]
[MIPS] IP27: shutdown_bridge_irq: don't free irq.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Sort out handling of ISA-less PCI systems.
Ralf Baechle [Fri, 24 Aug 2007 15:48:30 +0000 (16:48 +0100)]
[MIPS] Sort out handling of ISA-less PCI systems.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Add __cmpdi2
Ralf Baechle [Fri, 24 Aug 2007 12:47:45 +0000 (13:47 +0100)]
[MIPS] Add __cmpdi2

Certain 32-bit kernel configurations seem to be able to cause references,
this was observed with gcc 4.1.2.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] HOTPLUG: Make register_pci_controller __devinit.
Ralf Baechle [Fri, 24 Aug 2007 01:13:33 +0000 (02:13 +0100)]
[MIPS] HOTPLUG: Make register_pci_controller __devinit.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.
Ralf Baechle [Thu, 23 Aug 2007 13:17:14 +0000 (14:17 +0100)]
[MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.

Since 96bde06a2df1b363206d3cdef53134b84ff37813 several callers of
pcibios_resource_to_bus are no longer marked __devinit resulting in a
pile of modpost warnings if PCI && !HOTPLUG:

  MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x15dde8): Section mismatch: reference to .init.text:pcibios_resource_to_bus (between 'pci_map_rom' and 'pci_map_rom_copy')
WARNING: vmlinux.o(.text+0x15e140): Section mismatch: reference to .init.text:pcibios_resource_to_bus (between 'pci_update_resource' and 'pci_claim_resource')
WARNING: vmlinux.o(.text+0x15f0cc): Section mismatch: reference to .init.text:pcibios_resource_to_bus (between 'pci_setup_cardbus' and 'pci_bus_assign_resources')
WARNING: vmlinux.o(.text+0x15f0f0): Section mismatch: reference to .init.text:pcibios_resource_to_bus (between 'pci_setup_cardbus' and 'pci_bus_assign_resources')
WARNING: vmlinux.o(.text+0x15f114): Section mismatch: reference to .init.text:pcibios_resource_to_bus (between 'pci_setup_cardbus' and 'pci_bus_assign_resources')
WARNING: vmlinux.o(.text+0x15f138): Section mismatch: reference to .init.text:pcibios_resource_to_bus (between 'pci_setup_cardbus' and 'pci_bus_assign_resources')
WARNING: vmlinux.o(.text+0x15f438): Section mismatch: reference to .init.text:pcibios_resource_to_bus (between 'pci_bus_assign_resources' and 'pbus_size_mem')
WARNING: vmlinux.o(.text+0x15f4f4): Section mismatch: reference to .init.text:pcibios_resource_to_bus (between 'pci_bus_assign_resources' and 'pbus_size_mem')

Removing __devinit from pcibios_resource_to_bus make the same necessary
for pcibios_fixup_device_resources as well.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.
Ralf Baechle [Thu, 23 Aug 2007 13:12:56 +0000 (14:12 +0100)]
[MIPS] PCI: Remove __devinit attribute from pcibios_fixup_bus.

Since 96bde06a2df1b363206d3cdef53134b84ff37813 pcibios_fixup_bus's caller
pci_scan_child_bus is no longer marked __devinit resulting in this modpost
warning if PCI && !HOTPLUG:

  MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x158b9c): Section mismatch: reference to .init.text:pcibios_fixup_bus (between 'pci_scan_child_bus' and 'pci_scan_bus_parented')

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Delete duplicate inclusion of <linux/delay.h>.
Ralf Baechle [Wed, 22 Aug 2007 21:48:08 +0000 (22:48 +0100)]
[MIPS] Delete duplicate inclusion of <linux/delay.h>.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Polish <asm/edac.h>.
Ralf Baechle [Wed, 22 Aug 2007 21:42:18 +0000 (22:42 +0100)]
[MIPS] Polish <asm/edac.h>.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] IP22: Export sgi_gfxaddr for use by the Newport console driver.
Ralf Baechle [Wed, 22 Aug 2007 15:29:56 +0000 (16:29 +0100)]
[MIPS] IP22: Export sgi_gfxaddr for use by the Newport console driver.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Maintain si_code field properly for FP exceptions
Thiemo Seufer [Wed, 22 Aug 2007 00:42:04 +0000 (01:42 +0100)]
[MIPS] Maintain si_code field properly for FP exceptions

The appended patch adds code to update siginfo_t's si_code field. It
fixes e.g. a floating point overflow regression in the SBCL testsuite.

Signed-off-By: Thiemo Seufer <ths@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] SMTC: Fix duplicate status dumps on NMI
Thiemo Seufer [Mon, 20 Aug 2007 22:43:49 +0000 (23:43 +0100)]
[MIPS] SMTC: Fix duplicate status dumps on NMI

Also removes the while(1); loop by propagating the ATTRIB_NORET of die()
to nmi_exception_handler.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Unconditionally writeback and invalidate caches on kexec.
Nicolas Schichan [Mon, 20 Aug 2007 13:57:38 +0000 (15:57 +0200)]
[MIPS] Unconditionally writeback and invalidate caches on kexec.

Signed-off-by: Nicolas Schichan <nschichan@freebox.fr>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware
Atsushi Nemoto [Sun, 19 Aug 2007 13:32:10 +0000 (22:32 +0900)]
[PATCH] rtc: Make rtc-rs5c348 driver hotplug-aware

The rtc-rs5c348 SPI driver name doesn't match its module name, which
prevents it from properly hotplugging.  There is only one in-tree user
of its driver, which is fixed by this patch too.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Fix gcc 3.3 warning.
Ralf Baechle [Thu, 16 Aug 2007 11:10:16 +0000 (12:10 +0100)]
[MIPS] Fix gcc 3.3 warning.

  CC      arch/mips/kernel/cpu-bugs64.o
arch/mips/kernel/cpu-bugs64.c: In function 'align_mod':
arch/mips/kernel/cpu-bugs64.c:23: warning: asm operand 0 probably doesn't match constraints
arch/mips/kernel/cpu-bugs64.c:23: warning: asm operand 1 probably doesn't match constraints

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Fix invalid semicolon after if statement
Ilpo Järvinen [Wed, 15 Aug 2007 22:03:01 +0000 (01:03 +0300)]
[MIPS] Fix invalid semicolon after if statement

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Update Cobalt defconfig
Yoichi Yuasa [Tue, 7 Aug 2007 14:20:21 +0000 (23:20 +0900)]
[MIPS] Update Cobalt defconfig

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Update workpad_defconfig
Yoichi Yuasa [Tue, 14 Aug 2007 11:34:52 +0000 (20:34 +0900)]
[MIPS] Update workpad_defconfig

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Update tb0287_defconfig
Yoichi Yuasa [Tue, 14 Aug 2007 11:33:54 +0000 (20:33 +0900)]
[MIPS] Update tb0287_defconfig

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Update tb0226_defconfig
Yoichi Yuasa [Tue, 14 Aug 2007 11:32:47 +0000 (20:32 +0900)]
[MIPS] Update tb0226_defconfig

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Update tb0219_defconfig
Yoichi Yuasa [Tue, 14 Aug 2007 11:31:35 +0000 (20:31 +0900)]
[MIPS] Update tb0219_defconfig

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Update mpc30x_defconfig
Yoichi Yuasa [Tue, 14 Aug 2007 11:30:21 +0000 (20:30 +0900)]
[MIPS] Update mpc30x_defconfig

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Update e55_defconfig
Yoichi Yuasa [Tue, 14 Aug 2007 11:29:02 +0000 (20:29 +0900)]
[MIPS] Update e55_defconfig

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Update capcella_defconfig
Yoichi Yuasa [Tue, 14 Aug 2007 11:27:47 +0000 (20:27 +0900)]
[MIPS] Update capcella_defconfig

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] IP22: Fix modpost warning.
Ralf Baechle [Mon, 13 Aug 2007 11:47:17 +0000 (12:47 +0100)]
[MIPS] IP22: Fix modpost warning.

  MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0xc70): Section mismatch: reference to .init.text:add_memory_region (between 'probe_memory' and 'enable_local0_irq')

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Gcc 3.3 build fixes.
Ralf Baechle [Mon, 13 Aug 2007 11:44:41 +0000 (12:44 +0100)]
[MIPS] Gcc 3.3 build fixes.

Work around gcc 3.3's unability to evaluate that certain expressions indeed
are constant.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] MT: Use kallsyms in CPU state dump
Ralf Baechle [Fri, 10 Aug 2007 17:30:57 +0000 (18:30 +0100)]
[MIPS] MT: Use kallsyms in CPU state dump

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] MIPSsim: Delete old file that survived moving around in the tree.
Ralf Baechle [Tue, 7 Aug 2007 17:40:06 +0000 (18:40 +0100)]
[MIPS] MIPSsim: Delete old file that survived moving around in the tree.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] unwind_stack should return a value ...
Ralf Baechle [Tue, 7 Aug 2007 16:30:58 +0000 (17:30 +0100)]
[MIPS] unwind_stack should return a value ...

And gcc 3.4 doesn't even warn out this, grrr.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] SMTC: Fix crash on bootup with idebus= command line argument.
Ralf Baechle [Tue, 7 Aug 2007 16:18:28 +0000 (17:18 +0100)]
[MIPS] SMTC: Fix crash on bootup with idebus= command line argument.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Fix build error if CONFIG_KALLSYMS is undefined.
Ralf Baechle [Tue, 7 Aug 2007 14:02:55 +0000 (15:02 +0100)]
[MIPS] Fix build error if CONFIG_KALLSYMS is undefined.

  CC      arch/mips/kernel/traps.o
arch/mips/kernel/traps.c: In function 'show_backtrace':
arch/mips/kernel/traps.c:110: warning: unused variable 'ra'

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Excite: disable 64-bit kernel support.
Ralf Baechle [Tue, 7 Aug 2007 13:55:47 +0000 (14:55 +0100)]
[MIPS] Excite: disable 64-bit kernel support.

  CC      arch/mips/basler/excite/excite_prom.o
arch/mips/basler/excite/excite_prom.c:136:3: #error 64 bit support not implemented

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Kconfig: Fix configuration warning by hardwiring HOTPLUG_CPU to n.
Ralf Baechle [Tue, 7 Aug 2007 13:52:17 +0000 (14:52 +0100)]
[MIPS] Kconfig: Fix configuration warning by hardwiring HOTPLUG_CPU to n.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Update a few defconfigs.
Ralf Baechle [Tue, 7 Aug 2007 12:05:27 +0000 (13:05 +0100)]
[MIPS] Update a few defconfigs.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] SMTC: Move MIPS_CPU_IPI_IRQ definition into header.
Ralf Baechle [Mon, 6 Aug 2007 15:35:23 +0000 (16:35 +0100)]
[MIPS] SMTC: Move MIPS_CPU_IPI_IRQ definition into header.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Malta: Include <linux/irq.h for cp0_compare_irq / cp0_perfcount_irq.
Ralf Baechle [Mon, 6 Aug 2007 15:32:20 +0000 (16:32 +0100)]
[MIPS] Malta: Include <linux/irq.h for cp0_compare_irq / cp0_perfcount_irq.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] SMP: Scatter __cpuinit over the code as needed.
Ralf Baechle [Mon, 6 Aug 2007 13:02:12 +0000 (14:02 +0100)]
[MIPS] SMP: Scatter __cpuinit over the code as needed.

MIPS doesn't do CPU hotplugging yet but since many of the functions don't
even have an __init let's fix this right.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] SEAD: Don't mark as experimental.
Ralf Baechle [Mon, 6 Aug 2007 09:02:07 +0000 (10:02 +0100)]
[MIPS] SEAD: Don't mark as experimental.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] remove unused marvell.h
Yoichi Yuasa [Sat, 4 Aug 2007 14:35:47 +0000 (23:35 +0900)]
[MIPS] remove unused marvell.h

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] remove unused gt64240.h
Yoichi Yuasa [Sat, 4 Aug 2007 14:34:17 +0000 (23:34 +0900)]
[MIPS] remove unused gt64240.h

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] SNI: remove unused pcimt_scache.c
Yoichi Yuasa [Sat, 4 Aug 2007 14:26:53 +0000 (23:26 +0900)]
[MIPS] SNI: remove unused pcimt_scache.c

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] SNI: Remove unneeded sni_machine_halt
Yoichi Yuasa [Sat, 4 Aug 2007 14:24:51 +0000 (23:24 +0900)]
[MIPS] SNI: Remove unneeded sni_machine_halt

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Remove dead code from irq_txx9.c
Atsushi Nemoto [Fri, 3 Aug 2007 14:33:38 +0000 (23:33 +0900)]
[MIPS] Remove dead code from irq_txx9.c

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Do not discard extra debugging sections.
Daniel Jacobowitz [Fri, 3 Aug 2007 15:43:01 +0000 (11:43 -0400)]
[MIPS] Do not discard extra debugging sections.

Leaving these sections is useful to some tools that look at the image, and
none of them are loaded into memory.  The .mdebug.abi64 section, in
particular, lets GDB recognize vmlinux.32 as an N64 program instead of
guessing that it is O32.

Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Update defconfigs for TX39/TX49
Atsushi Nemoto [Thu, 2 Aug 2007 14:36:26 +0000 (23:36 +0900)]
[MIPS] Update defconfigs for TX39/TX49

Update defconfigs, disabling CONFIG_EXPERIMENTAL.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Use -Werror on TX39/TX49 boards
Atsushi Nemoto [Thu, 2 Aug 2007 14:36:17 +0000 (23:36 +0900)]
[MIPS] Use -Werror on TX39/TX49 boards

Now these directories can be built cleanly.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Drop unneeded config options for RBTX4938
Atsushi Nemoto [Thu, 2 Aug 2007 14:36:11 +0000 (23:36 +0900)]
[MIPS] Drop unneeded config options for RBTX4938

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Cleanup TX39/TX49 irq code
Atsushi Nemoto [Thu, 2 Aug 2007 14:36:02 +0000 (23:36 +0900)]
[MIPS] Cleanup TX39/TX49 irq code

Cleanup jmr3927, tx4927 and tx4938 irq codes, using common IRQ_CPU,
I8259 and IRQ_TXX9 irq routines.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] The irq_chip for TX39/TX49 SoCs
Atsushi Nemoto [Thu, 2 Aug 2007 14:35:53 +0000 (23:35 +0900)]
[MIPS] The irq_chip for TX39/TX49 SoCs

Add generic irq_chip for TX39/TX49 SoCs.  This can be replace
jmr3927_irq_irc, tx4927_irq_pic_type and tx4938_irq_pic_type.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Sibyte: CONFIG_SIBYTE_SB1250_DUART -> CONFIG_SERIAL_SB1250_DUART
Ralf Baechle [Thu, 2 Aug 2007 11:08:32 +0000 (12:08 +0100)]
[MIPS] Sibyte: CONFIG_SIBYTE_SB1250_DUART -> CONFIG_SERIAL_SB1250_DUART

This is needed since the Sibyte serial driver was exchanged.

Issue report by Imre Kaloz <kaloz@openwrt.org>.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Fix au1xxx_gpio_direction_* return value
Yoichi Yuasa [Thu, 2 Aug 2007 03:48:00 +0000 (12:48 +0900)]
[MIPS] Fix au1xxx_gpio_direction_* return value

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Remove unused pnx8550 Kconfig
Yoichi Yuasa [Thu, 2 Aug 2007 03:44:44 +0000 (12:44 +0900)]
[MIPS] Remove unused pnx8550 Kconfig

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Kconfig: Enable 64BIT_PHYS_ADDR only through select.
Ralf Baechle [Wed, 1 Aug 2007 23:36:08 +0000 (00:36 +0100)]
[MIPS] Kconfig: Enable 64BIT_PHYS_ADDR only through select.

The user should not have to have any clue about this setting.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] SMTC: Fix secondary VPE interrupt mask initialization.
Ralf Baechle [Wed, 1 Aug 2007 18:42:37 +0000 (19:42 +0100)]
[MIPS] SMTC: Fix secondary VPE interrupt mask initialization.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Compute PGD_ORDER from the select page size.
Ralf Baechle [Wed, 1 Aug 2007 14:46:18 +0000 (15:46 +0100)]
[MIPS] Compute PGD_ORDER from the select page size.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Extract {PGD,PMD,PTE}_ORDER into asm-offset.h
Ralf Baechle [Wed, 1 Aug 2007 14:27:36 +0000 (15:27 +0100)]
[MIPS] Extract {PGD,PMD,PTE}_ORDER into asm-offset.h

For debugging purposes only.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Fix computation of {PGD,PMD,PTE}_T_LOG2.
Ralf Baechle [Wed, 1 Aug 2007 14:25:28 +0000 (15:25 +0100)]
[MIPS] Fix computation of {PGD,PMD,PTE}_T_LOG2.

For the generation of asm-offset.h to work these need to be evaulatable
by gcc as a constant expression.  This issue did exist for a while but
didn't bite because they're only in asm-offset.h for debugging purposes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years ago[MIPS] Fix computation of PGDIR_SHIFT for 16K pagesize on 32-bit kernels.
Ralf Baechle [Tue, 31 Jul 2007 20:47:03 +0000 (21:47 +0100)]
[MIPS] Fix computation of PGDIR_SHIFT for 16K pagesize on 32-bit kernels.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
16 years agosched: s/sched_latency/sched_min_granularity
Ingo Molnar [Sat, 25 Aug 2007 20:17:19 +0000 (22:17 +0200)]
sched: s/sched_latency/sched_min_granularity

runtime limit and wakeup granularity used to be a function of
granularity and that was incorrect changed to sched_latency.

Fix this to make wakeup granularity a function of min-granularity,
and the runtime limit equal to latency.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched
Linus Torvalds [Sat, 25 Aug 2007 18:25:29 +0000 (11:25 -0700)]
Merge git://git./linux/kernel/git/mingo/linux-2.6-sched

* git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched:
  sched: cleanup, sched_granularity -> sched_min_granularity
  sched: adaptive scheduler granularity
  sched: fix CONFIG_SCHED_DEBUG dependency of lockdep sysctls

16 years agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394...
Linus Torvalds [Sat, 25 Aug 2007 18:24:53 +0000 (11:24 -0700)]
Merge branch 'for-linus' of git://git./linux/kernel/git/ieee1394/linux1394-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
  firewire: Add ref-counting for sbp2 orbs (fix command abortion)
  firewire: fix unloading of fw-ohci while devices are attached
  ieee1394: sbp2: fix sbp2_remove_device for error cases

16 years agosched: cleanup, sched_granularity -> sched_min_granularity
Ingo Molnar [Sat, 25 Aug 2007 16:41:53 +0000 (18:41 +0200)]
sched: cleanup, sched_granularity -> sched_min_granularity

due to adaptive granularity scheduling the role of sched_granularity
has changed to "minimum granularity", so rename the variable (and the
tunable) accordingly.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
16 years agosched: adaptive scheduler granularity
Peter Zijlstra [Sat, 25 Aug 2007 16:41:53 +0000 (18:41 +0200)]
sched: adaptive scheduler granularity

Instead of specifying the preemption granularity, specify the wanted
latency. By fixing the granlarity to a constany the wakeup latency
it a function of the number of running tasks on the rq.

Invert this relation.

sysctl_sched_granularity becomes a minimum for the dynamic granularity
computed from the new sysctl_sched_latency.

Then use this latency to do more intelligent granularity decisions: if
there are fewer tasks running then we can schedule coarser. This helps
performance while still always keeping the latency target.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years agosched: fix CONFIG_SCHED_DEBUG dependency of lockdep sysctls
Peter Zijlstra [Sat, 25 Aug 2007 16:41:52 +0000 (18:41 +0200)]
sched: fix CONFIG_SCHED_DEBUG dependency of lockdep sysctls

Make the lockdep sysctls not depend on CONFIG_SCHED_DEBUG.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
16 years agofirewire: Add ref-counting for sbp2 orbs (fix command abortion)
Kristian Høgsberg [Fri, 24 Aug 2007 22:59:58 +0000 (18:59 -0400)]
firewire: Add ref-counting for sbp2 orbs (fix command abortion)

This handles the case where we get the status write before getting the
complete_transaction callback ("status write for unknown orb").  In
this case, we just assume that the initial orb pointer transaction
succeeded and finish the orb.  To prevent the transaction callback
from touching freed memory, we ref-count the orb structures.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
16 years agofirewire: fix unloading of fw-ohci while devices are attached
Stefan Richter [Mon, 20 Aug 2007 23:05:14 +0000 (01:05 +0200)]
firewire: fix unloading of fw-ohci while devices are attached

Fix panic in run_timer_softirq right after "modprobe -r firewire-ohci"
if a FireWire disk was attached and firewire-sbp2 loaded.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
16 years agoieee1394: sbp2: fix sbp2_remove_device for error cases
Stefan Richter [Sat, 11 Aug 2007 09:51:16 +0000 (11:51 +0200)]
ieee1394: sbp2: fix sbp2_remove_device for error cases

Bug found by Olaf Hering <olh@suse.de>:
sbp2util_remove_command_orb_pool requires a valid lu->hi pointer.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
16 years agoMerge branch 'agp-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
Linus Torvalds [Sat, 25 Aug 2007 15:01:53 +0000 (08:01 -0700)]
Merge branch 'agp-patches' of git://git./linux/kernel/git/airlied/agp-2.6

* 'agp-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/agp-2.6:
  agp: balance ioremap checks
  agp: Add device id for P4M900 to via-agp module
  efficeon-agp leaks 'struct agp_bridge_data' in error paths of agp_efficeon_probe()

16 years agoMerge branch 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
Linus Torvalds [Sat, 25 Aug 2007 15:01:06 +0000 (08:01 -0700)]
Merge branch 'drm-patches' of git://git./linux/kernel/git/airlied/drm-2.6

* 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
  drm: ioremap return value checks
  drm/via: Fix dmablit when blit queue is full
  drm_rmmap_ioctl(): remove dead code

16 years agoMerge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
Linus Torvalds [Sat, 25 Aug 2007 14:59:59 +0000 (07:59 -0700)]
Merge branch 'upstream-linus' of /linux/kernel/git/jgarzik/netdev-2.6

* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
  myri10ge: update driver version to 1.3.2-1.269
  myri10ge: use pcie_get/set_readrq
  ehea: fix queue destructor
  ehea: fix module parameter description
  ehea: fix interface to DLPAR tools
  sgiseeq: Fix return type of sgiseeq_remove
  sky2 1.17
  sky2: only bring up watchdog if link is active
  sky2: clear PCI power control reg at startup
  DM9000: fix interface hang under load
  phy layer: fix genphy_setup_forced (don't reset)
  Don't use GFP_DMA for zone allocation.
  fix realtek phy id in forcedeth

16 years agoMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux...
Linus Torvalds [Sat, 25 Aug 2007 14:54:38 +0000 (07:54 -0700)]
Merge branch 'release' of git://git./linux/kernel/git/lenb/linux-acpi-2.6

* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (30 commits)
  ACPI: work around duplicate name "VID" problem on T61
  acpiphp_ibm: add missing '\n' to error message
  ACPI: add dump_stack() to trace acpi_format_exception programming errors
  make drivers/acpi/scan.c:create_modalias() static
  ACPI: Fix a warning of discarding qualifiers from pointer target type
  ACPI: "ACPI handle has no context!" should be KERN_DEBUG
  ACPI video hotkey: export missing ACPI video hotkey events via input layer
  ACPI: Validate XSDT, use RSDT if XSDT fails
  ACPI: /proc/acpi/thermal_zone trip points are now read-only, mark them as such
  ACPI: fix ia64 allnoconfig build
  PNP: remove null pointer checks
  PNP: remove MODULE infrastructure
  ISAPNP: removed unused isapnp_detected and ISAPNP_DEBUG
  PNPACPI: remove unnecessary casts of "void *"
  PNPACPI: simplify irq_flags()
  PNP: fix up after Lindent
  ACPI: enable GPEs before calling _WAK on resume
  asus-laptop: Fix rmmod of asus_laptop
  sony-laptop: call sonypi_compat_init earlier
  sony-laptop: enable Vaio FZ events
  ...

16 years agodrm: ioremap return value checks
Scott Thompson [Sat, 25 Aug 2007 08:17:49 +0000 (18:17 +1000)]
drm: ioremap return value checks

Signed-off-by: Scott Thompson <postfail <at> hushmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
16 years agoagp: balance ioremap checks
Scott Thompson [Sat, 25 Aug 2007 08:14:00 +0000 (18:14 +1000)]
agp: balance ioremap checks

patchset against 2.6.23-rc3.
corrects missing ioremap return checks and balancing on iounmap calls, integrated changes per list
recommendations on the original set of patches..

Signed-off-by: Scott Thompson <postfail <at> hushmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
16 years agoagp: Add device id for P4M900 to via-agp module
Xavier Bachelot [Sat, 25 Aug 2007 08:10:52 +0000 (18:10 +1000)]
agp: Add device id for P4M900 to via-agp module

Signed-off-by: Dave Airlie <airlied@linux.ie>
16 years ago[POWERPC] Fix SLB initialization at boot time
Paul Mackerras [Sat, 25 Aug 2007 03:14:28 +0000 (13:14 +1000)]
[POWERPC] Fix SLB initialization at boot time

This partially reverts edd0622bd2e8f755c960827e15aa6908c3c5aa94.

It turns out that the part of that commit that aimed to ensure that we
created an SLB entry for the kernel stack on secondary CPUs when
starting the CPU didn't achieve its aim, and in fact caused a
regression, because get_paca()->kstack is not initialized at the point
where slb_initialize is called.

This therefore just reverts that part of that commit, while keeping
the change to slb_flush_and_rebolt, which is correct and necessary.

Signed-off-by: Paul Mackerras <paulus@samba.org>
16 years ago[POWERPC] Fix undefined reference to device_power_up/resume
Olaf Hering [Fri, 24 Aug 2007 19:42:01 +0000 (05:42 +1000)]
[POWERPC] Fix undefined reference to device_power_up/resume

Current Linus tree fails to link on pmac32:

drivers/built-in.o: In function `pmac_wakeup_devices':
via-pmu.c:(.text+0x5bab4): undefined reference to `device_power_up'
via-pmu.c:(.text+0x5bb08): undefined reference to `device_resume'
drivers/built-in.o: In function `pmac_suspend_devices':
via-pmu.c:(.text+0x5c260): undefined reference to `device_power_down'
via-pmu.c:(.text+0x5c27c): undefined reference to `device_resume'
make[1]: *** [.tmp_vmlinux1] Error 1

changing CONFIG_PM > CONFIG_PM_SLEEP leads to:

drivers/built-in.o: In function `pmu_led_set':
via-pmu-led.c:(.text+0x5cdca): undefined reference to `pmu_sys_suspended'
via-pmu-led.c:(.text+0x5cdce): undefined reference to `pmu_sys_suspended'
drivers/built-in.o: In function `pmu_req_done':
via-pmu-led.c:(.text+0x5ce3e): undefined reference to `pmu_sys_suspended'
via-pmu-led.c:(.text+0x5ce42): undefined reference to `pmu_sys_suspended'
drivers/built-in.o: In function `adb_init':
(.init.text+0x4c5c): undefined reference to `pmu_register_sleep_notifier'
make[1]: *** [.tmp_vmlinux1] Error 1

So change even more places from PM to PM_SLEEP to allow linking.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
16 years ago[POWERPC] cell: Update cell_defconfig for 2.6.23
Arnd Bergmann [Wed, 22 Aug 2007 17:09:17 +0000 (03:09 +1000)]
[POWERPC] cell: Update cell_defconfig for 2.6.23

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
16 years ago[POWERPC] axonram: Do not delete gendisks queue in error path
Maxim Shchetynin [Wed, 22 Aug 2007 17:01:28 +0000 (03:01 +1000)]
[POWERPC] axonram: Do not delete gendisks queue in error path

On exit do not delete gendisk's queue because this is already done by
del_gendisk(). Doing it twice may cause memory damage.

Signed-off-by: Maximilian <maxim@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
16 years ago[POWERPC] axonram: Module modification for latest firmware API changes
Maxim Shchetynin [Wed, 22 Aug 2007 17:01:27 +0000 (03:01 +1000)]
[POWERPC] axonram: Module modification for latest firmware API changes

Firmware would not deliver two interrupt numbers in device-tree any more
but only one, for correctable ECC, because uncorrectable ECC from now
is handled by firmware itself.
Changes in the axonram module are necessary because in the old version, if
it is not allowed to fetch the second interrupt number from device-tree,
it interpretes this as an error case and exits.

Signed-off-by: Maximilian <maxim@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
16 years ago[POWERPC] cell: Support pinhole-reset on IBM cell blades
Arnd Bergmann [Wed, 22 Aug 2007 17:01:26 +0000 (03:01 +1000)]
[POWERPC] cell: Support pinhole-reset on IBM cell blades

The Cell Broadband Engine has a method of injecting a
system-reset-exception from an external source into the
operating system, which should trigger the regular behaviour
of entering xmon or kdump.

Unfortunately, the exception handler cannot distinguish it from
other interrupt causes by the SRR1 register, which gets used
for this on Power 6 and others.

IBM Blade servers that want to support triggering the
system reset exception using a pinhole button in the front
panel therefore use an extra register to determine the
reset cause.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
--
Signed-off-by: Paul Mackerras <paulus@samba.org>
16 years ago[POWERPC] spu_manage: Use newer physical-id attribute
Christian Krafft [Wed, 22 Aug 2007 17:01:25 +0000 (03:01 +1000)]
[POWERPC] spu_manage: Use newer physical-id attribute

Legacy device tree used the reg property for the physical id of an
spe.  On newer device tree layouts the reg property contains the
"correct" value in the reg attribute.  So there has been intoduced the
"physical-id" on newer devicetree layouts.  The id is stored by
spu_manage into the spu struct as spe_id.  cbe_thermal has been
changed to use the spu->spe_id.  There's no need for the thermal code
to check devicetree attributes for itself.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Cc: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
16 years ago[POWERPC] pasemi: Another IOMMU bugfix for 64K PAGE_SIZE
Olof Johansson [Fri, 17 Aug 2007 03:57:39 +0000 (13:57 +1000)]
[POWERPC] pasemi: Another IOMMU bugfix for 64K PAGE_SIZE

More fallout from the switch from PAGE_SIZE based IOMMU to the native page
size for the driver. By pure luck it happened to work most of the time, since
we end up invalidating the wrong entries in the TLB.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
16 years agomyri10ge: update driver version to 1.3.2-1.269
Brice Goglin [Fri, 24 Aug 2007 06:57:54 +0000 (08:57 +0200)]
myri10ge: update driver version to 1.3.2-1.269

Update myri10ge driver version to 1.3.2-1.269.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
16 years agomyri10ge: use pcie_get/set_readrq
Brice Goglin [Fri, 24 Aug 2007 06:57:17 +0000 (08:57 +0200)]
myri10ge: use pcie_get/set_readrq

Based on a patch from Peter Oruba, convert myri10ge to use pcie_get_readrq()
and pcie_set_readrq() instead of our own PCI calls and arithmetics.

These driver changes incorporate the proposed PCI-X / PCI-Express read byte
count interface.  Reading and setting those values doesn't take place
"manually", instead wrapping functions are called to allow quirks for some
PCI bridges.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off by: Peter Oruba <peter.oruba@amd.com>
Based on work by Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
16 years agoehea: fix queue destructor
Jan-Bernd Themann [Wed, 22 Aug 2007 14:21:28 +0000 (16:21 +0200)]
ehea: fix queue destructor

Includes hcp_epas_dtor in eq/cq/qp destructors to unmap
HW register.

Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
16 years agoehea: fix module parameter description
Jan-Bernd Themann [Wed, 22 Aug 2007 14:21:24 +0000 (16:21 +0200)]
ehea: fix module parameter description

Update the module parameter description of "use_mcs" to
show correct default value

Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
16 years agoehea: fix interface to DLPAR tools
Jan-Bernd Themann [Wed, 22 Aug 2007 14:20:58 +0000 (16:20 +0200)]
ehea: fix interface to DLPAR tools

Userspace DLPAR tool expects decimal numbers to be written to
and read from sysfs entries.

Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
16 years agosgiseeq: Fix return type of sgiseeq_remove
Ralf Baechle [Wed, 22 Aug 2007 15:03:52 +0000 (16:03 +0100)]
sgiseeq: Fix return type of sgiseeq_remove

The driver remove method needs to return an int not void.  This was just
never noticed because usually this driver is not being built as a module.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
16 years agosky2 1.17
Stephen Hemminger [Tue, 21 Aug 2007 21:34:04 +0000 (14:34 -0700)]
sky2 1.17

Mark new version to track if current driver is in use.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>