Linux Kernel Mailing List | 1 Nov 01:59 2005

[PATCH] Creative Audigy 2 cardbus: Add IO window wakeup magic

tree c9b72300f45441bbe8571a7fbaaf2aa5e6b3d28c
parent 659603ef692d3f6c7c216e80310990253864bf2e
author James Courtier-Dutton <James <at> superbug.co.uk> Mon, 31 Oct 2005 10:27:41 +0000
committer Linus Torvalds <torvalds <at> g5.osdl.org> Tue, 01 Nov 2005 08:09:39 -0800

[PATCH] Creative Audigy 2 cardbus: Add IO window wakeup magic

This adds the magic IO wakeup code for the CardBus version of the
Creative Labs Audigy 2 to the snd-emu10k1 driver.

Without the magic IO enable sequence, reading from the IO region of the
card will fail spectacularly, and the machine will hang.

My next task will be getting the driver to actually play sound without
distortion.

Signed-off-by: James Courtier-Dutton <James <at> superbug.co.uk>

[ This is a work-in-progress, but since it avoids a total lockup
  if the emu10k module is loaded on a machine with the cardbus
  card inserted, we're better off with it than without it, even
  if sound quality is bad right now ]

Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 include/sound/emu10k1.h          |    1 +
 sound/pci/emu10k1/emu10k1_main.c |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h
(Continue reading)

Linux Kernel Mailing List | 1 Nov 11:59 2005

Revert "i386: move apic init in init_IRQs"

tree cd938308f7a151bf294a2af26019c73218225c9f
parent d83c671fb7023f69a9582e622d01525054f23b66
author Linus Torvalds <torvalds <at> g5.osdl.org> Tue, 01 Nov 2005 11:16:17 -0800
committer Linus Torvalds <torvalds <at> g5.osdl.org> Tue, 01 Nov 2005 11:16:17 -0800

Revert "i386: move apic init in init_IRQs"

Commit f2b36db692b7ff6972320ad9839ae656a3b0ee3e causes a bootup hang on
at least one machine.  Revert for now until we understand why.  The old
code may be ugly, but it works.

Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 arch/i386/kernel/apic.c                       |   77 +++++---------------------
 arch/i386/kernel/i8259.c                      |    4 -
 arch/i386/kernel/io_apic.c                    |    6 --
 arch/i386/kernel/smpboot.c                    |   68 +++++++++++++++++-----
 arch/i386/kernel/time.c                       |   12 ----
 include/asm-i386/apic.h                       |    3 -
 include/asm-i386/hw_irq.h                     |    1 
 include/asm-i386/mach-default/smpboot_hooks.h |   15 +++++
 include/asm-i386/mach-visws/smpboot_hooks.h   |    7 ++
 init/main.c                                   |   11 +++
 10 files changed, 104 insertions(+), 100 deletions(-)

diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c
--- a/arch/i386/kernel/apic.c
+++ b/arch/i386/kernel/apic.c
 <at>  <at>  -803,7 +803,6  <at>  <at>  no_apic:

(Continue reading)

Linux Kernel Mailing List | 1 Nov 19:02 2005

NTFS: Fix a stupid bug causing writes to non-initialized pages to segfault.

tree d4a0d4e1f0aff3a808846807f3b4d2fd9fa35667
parent 1f04c0a24b2f3cfe89c802a24396263623e3512d
author Anton Altaparmakov <aia21 <at> cantab.net> Tue, 01 Nov 2005 15:49:31 +0000
committer Anton Altaparmakov <aia21 <at> cantab.net> Tue, 01 Nov 2005 15:49:31 +0000

NTFS: Fix a stupid bug causing writes to non-initialized pages to segfault.

Signed-off-by: Anton Altaparmakov <aia21 <at> cantab.net>

 fs/ntfs/file.c |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c
--- a/fs/ntfs/file.c
+++ b/fs/ntfs/file.c
 <at>  <at>  -668,10 +668,10  <at>  <at>  map_buffer_cached:
 				 * to, we need to read it in before the write,
 				 * i.e. now.
 				 */
-				if (!buffer_uptodate(bh) && ((bh_pos < pos &&
-						bh_end > pos) ||
-						(bh_end > end &&
-						bh_end > end))) {
+				if (!buffer_uptodate(bh) && bh_pos < end &&
+						bh_end > pos &&
+						(bh_pos < pos ||
+						bh_end > end)) {
 					/*
 					 * If the buffer is fully or partially
 					 * within the initialized size, do an
(Continue reading)

Linux Kernel Mailing List | 1 Nov 19:02 2005

Don't touch USB controller IO registers when they are disabled

tree 079228fafa21a7d2920525c9d1e4b5a3edbcf390
parent 1e4c85f97fe26fbd70da12148b3992c0e00361fd
author Linus Torvalds <torvalds <at> g5.osdl.org> Tue, 01 Nov 2005 13:12:40 -0800
committer Linus Torvalds <torvalds <at> g5.osdl.org> Tue, 01 Nov 2005 13:12:40 -0800

Don't touch USB controller IO registers when they are disabled

The USB "handoff" code is an early PCI quirk to make sure we own the USB
controller (as opposed to the BIOS/SMM).  But if the controller isn't
even enabled yet, don't try to access it.

Acked-by: Paul Mackerras <paulus <at> samba.org> (who had an alternate patch)
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 drivers/usb/host/pci-quirks.c |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+)

diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
--- a/drivers/usb/host/pci-quirks.c
+++ b/drivers/usb/host/pci-quirks.c
 <at>  <at>  -138,11 +138,23  <at>  <at>  reset_needed:
 }
 EXPORT_SYMBOL_GPL(uhci_check_and_reset_hc);

+static inline int io_type_enabled(struct pci_dev *pdev, unsigned int mask)
+{
+	u16 cmd;
+	return !pci_read_config_word(pdev, PCI_COMMAND, &cmd) && (cmd & mask);
+}
+
(Continue reading)

Linux Kernel Mailing List | 2 Nov 07:02 2005

[CIFS] fs/cifs/netmisc.c: fix sparse warning

tree 46e5913ef683c48d9aaefe3e087ad791b1c4a30c
parent d0d2f2df65ddea9a30ddd117f769bfff65d3fc56
author Alexey Dobriyan <adobriyan <at> mail.ru> Fri, 03 Jun 2005 06:01:16 -0500
committer Steve French <sfrench <at> us.ibm.com> Fri, 03 Jun 2005 06:01:16 -0500

[CIFS] fs/cifs/netmisc.c: fix sparse warning

Signed-off-by: Steve French <sfrench <at> us.ibm.com>
Signed-off-by: Alexey Dobriyan <adobriyan <at> mail.ru>
Signed-off-by: Domen Puncer <domen <at> coderock.org>

 fs/cifs/netmisc.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c
--- a/fs/cifs/netmisc.c
+++ b/fs/cifs/netmisc.c
 <at>  <at>  -133,7 +133,6  <at>  <at>  static const struct smb_to_posix_error m
 int
 cifs_inet_pton(int address_family, char *cp,void *dst)
 {
-	struct in_addr address;
 	int value;
 	int digit;
 	int i;
 <at>  <at>  -190,8 +189,7  <at>  <at>  cifs_inet_pton(int address_family, char 
 	if (value > addr_class_max[end - bytes])
 		return 0;

-	address.s_addr = *((__be32 *) bytes) | htonl(value);
(Continue reading)

Linux Kernel Mailing List | 2 Nov 07:02 2005

[PATCH] toshiba_ohci1394_dmi_table should be __devinitdata, not __devinit

tree 6329906126179b0513a86c748cad2989e5812e57
parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4
author Roland Dreier <rolandd <at> cisco.com> Sat, 29 Oct 2005 11:50:35 -0700
committer Linus Torvalds <torvalds <at> g5.osdl.org> Wed, 02 Nov 2005 13:27:22 -0800

[PATCH] toshiba_ohci1394_dmi_table should be __devinitdata, not __devinit

I don't really understand why gcc gives the error it does, but without
this patch, when building with CONFIG_HOTPLUG=n, I get errors like:

      CC      arch/x86_64/pci/../../i386/pci/fixup.o
    arch/x86_64/pci/../../i386/pci/fixup.c: In function `pci_fixup_i450nx':
    arch/x86_64/pci/../../i386/pci/fixup.c:13: error: pci_fixup_i450nx causes a section type conflict

The change is obviously correct: an array should be declared
__devinitdata rather that __devinit.

Signed-off-by: Roland Dreier <rolandd <at> cisco.com>
Acked-by: Martin J. Bligh <mbligh <at> mbligh.org>
Signed-off-by: Linus Torvalds <torvalds <at> osdl.org>

 arch/i386/pci/fixup.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/i386/pci/fixup.c b/arch/i386/pci/fixup.c
--- a/arch/i386/pci/fixup.c
+++ b/arch/i386/pci/fixup.c
 <at>  <at>  -398,7 +398,7  <at>  <at>  DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI
  */
 static u16 toshiba_line_size;
(Continue reading)

Linux Kernel Mailing List | 2 Nov 07:03 2005

[WATCHDOG] adds device_driver .owner field

tree b7b86327638d0273c1874c9a08edef2b2414accb
parent b3faed6373bfd4468384880a39d4014ead7159f7
author Wim Van Sebroeck <wim <at> iguana.be> Sun, 23 Oct 2005 15:21:44 +0200
committer Wim Van Sebroeck <wim <at> iguana.be> Tue, 01 Nov 2005 19:31:59 +0100

[WATCHDOG] adds device_driver .owner field

Initialise the .owner field of the device driver
with the module that owns it, for easier tracking
of device driver ownership. (probably also better
for sysfs...)

Signed-off-by: Wim Van Sebroeck <wim <at> iguana.be>

 drivers/char/watchdog/mpcore_wdt.c  |    1 +
 drivers/char/watchdog/mv64x60_wdt.c |    1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/char/watchdog/mpcore_wdt.c b/drivers/char/watchdog/mpcore_wdt.c
--- a/drivers/char/watchdog/mpcore_wdt.c
+++ b/drivers/char/watchdog/mpcore_wdt.c
 <at>  <at>  -396,6 +396,7  <at>  <at>  static int __devexit mpcore_wdt_remove(s
 }

 static struct device_driver mpcore_wdt_driver = {
+	.owner		= THIS_MODULE,
 	.name		= "mpcore_wdt",
 	.bus		= &platform_bus_type,
 	.probe		= mpcore_wdt_probe,
diff --git a/drivers/char/watchdog/mv64x60_wdt.c b/drivers/char/watchdog/mv64x60_wdt.c
(Continue reading)

Linux Kernel Mailing List | 2 Nov 07:03 2005

[ARM] Fixup platform device.h includes for realview board

tree 4ebfd4cb2c76de207ba799c8f910b5e8b9e0a67d
parent 8ad68bbf7a06cdd77c170be792418488dbb65da4
author Russell King <rmk <at> dyn-67.arm.linux.org.uk> Mon, 31 Oct 2005 16:57:06 +0000
committer Russell King <rmk+kernel <at> arm.linux.org.uk> Mon, 31 Oct 2005 16:57:06 +0000

[ARM] Fixup platform device.h includes for realview board

Signed-off-by: Russell King <rmk+kernel <at> arm.linux.org.uk>

 arch/arm/mach-realview/core.c        |    2 +-
 arch/arm/mach-realview/realview_eb.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-realview/core.c b/arch/arm/mach-realview/core.c
--- a/arch/arm/mach-realview/core.c
+++ b/arch/arm/mach-realview/core.c
 <at>  <at>  -20,7 +20,7  <at>  <at> 
  */
 #include <linux/config.h>
 #include <linux/init.h>
-#include <linux/device.h>
+#include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
 #include <linux/sysdev.h>
 #include <linux/interrupt.h>
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c
--- a/arch/arm/mach-realview/realview_eb.c
+++ b/arch/arm/mach-realview/realview_eb.c
 <at>  <at>  -21,7 +21,7  <at>  <at> 

(Continue reading)

Linux Kernel Mailing List | 2 Nov 07:03 2005

[ARM] Add support for ARM RealView board

tree 7caed40139d8e0a490cd7a9de0cf4c78f4285c05
parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc
author Catalin Marinas <catalin.marinas <at> arm.com> Mon, 31 Oct 2005 14:25:02 +0000
committer Russell King <rmk+kernel <at> arm.linux.org.uk> Mon, 31 Oct 2005 14:25:02 +0000

[ARM] Add support for ARM RealView board

Support for RealView EB.

Signed-off-by: Catalin Marinas <catalin.marinas <at> arm.com>
Signed-off-by: Russell King <rmk+kernel <at> arm.linux.org.uk>

 arch/arm/Kconfig                            |    9 
 arch/arm/Makefile                           |    1 
 arch/arm/mach-realview/Kconfig              |   11 
 arch/arm/mach-realview/Makefile             |    6 
 arch/arm/mach-realview/Makefile.boot        |    4 
 arch/arm/mach-realview/clock.c              |  145 ++++++
 arch/arm/mach-realview/clock.h              |   25 +
 arch/arm/mach-realview/core.c               |  605 ++++++++++++++++++++++++++++
 arch/arm/mach-realview/core.h               |  118 +++++
 arch/arm/mach-realview/realview_eb.c        |  142 ++++++
 arch/arm/mm/Kconfig                         |    6 
 include/asm-arm/arch-realview/debug-macro.S |   38 +
 include/asm-arm/arch-realview/dma.h         |   27 +
 include/asm-arm/arch-realview/entry-macro.S |   49 ++
 include/asm-arm/arch-realview/hardware.h    |   31 +
 include/asm-arm/arch-realview/io.h          |   34 +
 include/asm-arm/arch-realview/irqs.h        |  103 ++++
 include/asm-arm/arch-realview/memory.h      |   38 +
(Continue reading)

Linux Kernel Mailing List | 2 Nov 07:03 2005

[WATCHDOG] w83627hf_wdt trivial typo

tree 2fdddabcef4584e5c5c0de1054cc1c8980fd3856
parent 30da9404bcc028385867acf689a615495642bc0f
author Pozsar Balazs <pozsy <at> uhulinux.hu> Fri, 21 Oct 2005 10:52:01 +0100
committer Wim Van Sebroeck <wim <at> iguana.be> Tue, 01 Nov 2005 19:31:37 +0100

[WATCHDOG] w83627hf_wdt trivial typo

The most trivial typo fix in the world.

Signed-off-by: Pozsar Balazs <pozsy <at> uhulinux.hu>
Signed-off-by: Pádraig Brady <P <at> draigBrady.com>
Signed-off-by: Wim Van Sebroeck <wim <at> iguana.be>

 drivers/char/watchdog/w83627hf_wdt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/watchdog/w83627hf_wdt.c b/drivers/char/watchdog/w83627hf_wdt.c
--- a/drivers/char/watchdog/w83627hf_wdt.c
+++ b/drivers/char/watchdog/w83627hf_wdt.c
 <at>  <at>  -359,5 +359,5  <at>  <at>  module_exit(wdt_exit);

 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Pádraig Brady <P <at> draigBrady.com>");
-MODULE_DESCRIPTION("w38627hf WDT driver");
+MODULE_DESCRIPTION("w83627hf WDT driver");
 MODULE_ALIAS_MISCDEV(WATCHDOG_MINOR);

Gmane