03 Aug, 2006

40 commits

  • This patch makes snd-powermac load when it can't bind the device right
    away. That's the expected behaviour for hotplugging, but fixes an
    important problem I was seeing with doing a modprobe snd-powermac with
    a version that refuses loading on machines with layout-id: snd-powermac
    would create a bunch of uevents and then refuse to load, the uevents
    causing udev to reload it again, ad eternum.

    Signed-off-by: Johannes Berg
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Johannes Berg
     
  • This patch fixes the toonie codec to be actually usable.

    Signed-off-by: Johannes Berg
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Johannes Berg
     
  • The IRQ rework caused some hiccups here, in some cases we call
    get_irq without a device node. This patch makes it catch that
    case and return NO_IRQ when it happens, along with changing the
    place where the irq is checked to check for NO_IRQ instead of -1.
    Acked-by: Benjamin Herrenschmidt

    Signed-off-by: Johannes Berg
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Johannes Berg
     
  • sound: Conversions from kmalloc+memset to k(c|z)alloc.

    Signed-off-by: Panagiotis Issaris
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Panagiotis Issaris
     
  • Fixes ALSA bug#2190 System hangs on unplugging Audigy 2 ZS
    Notebook CardBus card.

    Signed-off-by: James Courtier-Dutton
    Signed-off-by: Jaroslav Kysela

    James Courtier-Dutton
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (32 commits)
    [NET]: Fix more per-cpu typos
    [SECURITY]: Fix build with CONFIG_SECURITY disabled.
    [I/OAT]: Remove CPU hotplug lock from net_dma_rebalance
    [DECNET]: Fix for routing bug
    [AF_UNIX]: Kernel memory leak fix for af_unix datagram getpeersec patch
    [NET]: skb_queue_lock_key() is no longer used.
    [NET]: Remove lockdep_set_class() call from skb_queue_head_init().
    [IPV6]: SNMPv2 "ipv6IfStatsOutFragCreates" counter error
    [IPV6]: SNMPv2 "ipv6IfStatsInHdrErrors" counter error
    [NET]: Kill the WARN_ON() calls for checksum fixups.
    [NETFILTER]: xt_hashlimit/xt_string: missing string validation
    [NETFILTER]: SIP helper: expect RTP streams in both directions
    [E1000]: Convert to netdev_alloc_skb
    [TG3]: Convert to netdev_alloc_skb
    [NET]: Add netdev_alloc_skb().
    [TCP]: Process linger2 timeout consistently.
    [SECURITY] secmark: nul-terminate secdata
    [NET] infiniband: Cleanup ib_addr module to use the netevents
    [NET]: Core net changes to generate netevents
    [NET]: Network Event Notifier Mechanism.
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: (24 commits)
    Revert "[PATCH] USB: move usb_device_class class devices to be real devices"
    Revert "[PATCH] USB: convert usb class devices to real devices"
    USB: UHCI: Don't test the Short Packet Detect bit
    USB: unusual_devs entry for Nokia 3250
    USB: dummy-hcd: disable interrupts during req->complete
    USB: fix the USB_GADGET_DUMMY_HCD dependencies
    USB: ati_remote.c: autorepeat fix
    USB: doc: fixes devio.c location in proc_usb_info.txt.
    USB: doc: usb-help.txt update.
    USB: Patch for rtl8150 to fix unplug problems
    USB: cypress driver comment updates
    USB: unusual_devs device removal
    usb-storage: Add US_FL_IGNORE_DEVICE flag; ignore ZyXEL G220F
    USB: New USB ID for Belkin Serial Adapter
    USB: Additional PID for the ftdi_sio driver
    USB: adding support for SHARP WS003SH to ipaq.c
    USB: Fix Freescale high-speed USB host dependency
    USB: Removed 3-port device handler from Option driver
    USB: Drop Sierra Wireless MC8755 from the Option driver
    USB: Let option driver handle Anydata CDMA modems. Remove anydata driver.
    ...

    Linus Torvalds
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 3743/1: ARM: OMAP: Fix compile for OMAP
    [ARM] 3739/1: genirq updates: irq_chip, add and use irq_chip.name

    Linus Torvalds
     
  • If CONFIG_IOMMU_DEBUG is set force_iommu defaults to 1. In the case
    where no HW IOMMU is present in the machine and we end up using nommu,
    leaving force_iommu set to 1 causes dma_alloc_coherent to do the wrong
    thing. Therefore, if we end up using nommu, make sure force_iommu is
    0.

    Signed-off-by: Muli Ben-Yehuda
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Muli Ben-Yehuda
     
  • Re-add backlink for old style unwinder to stack switching. Add proper
    stack frame and CFI annotations to call_softirq

    This prevents a oops when backtracing with fallback through the
    interrupt stack top.

    Suggested by Jan Beulich and Herbert Xu wanted it in 2.6.18.

    Cc: jbeulich@novell.com
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • Suresh points out that commit b0423a0d9cc836b2c3d796623cd19236bfedfe63
    broke the semantics of a synchronous signal like SIGSEGV occurring
    recursively inside its own handler handler (or, indeed, any other
    context when the signal was blocked).

    That was unintentional, and this fixes things up by reinstating the old
    semantics, but without reverting the cleanups.

    Cc: Paul E. McKenney
    Acked-by: Suresh Siddha
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-2.6.18:
    gitignore: gitignore quilt's files
    kbuild: always use $(CC) for $(call cc-version)
    kconfig: correct oldconfig for unset choice options
    kbuild: -fno-stack-protector is not good
    kbuild: fix typo in modpost
    kbuild: improve error from file2alias
    kbuild: .gitignore utsrelease.h
    kbuild: version.h and new headers_* targets does not require a kernel config
    kbuild: hardcode value of YACC&LEX for aic7-triple-x

    Linus Torvalds
     
  • This reverts c182274ffe1277f4e7c564719a696a37cacf74ea commit because it
    required a newer version of udev to work properly than what is currently
    documented in Documentation/Changes.

    Cc: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • This reverts bd00949647ddcea47ce4ea8bb2cfcfc98ebf9f2a commit because it
    required a newer version of udev to work properly than what is currently
    documented in Documentation/Changes.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Apparently some UHCI controllers change the value of the Short Packet
    Detect (SPD) bit in the TD status word -- presumably when they receive a
    short packet. This patch (as759) changes uhci-hcd to avoid assuming
    that the bit is unchanged; in fact, the driver no longer looks at SPD at
    all.

    This fixes the second problem reported in Bugzilla #6752.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • Here is another unusual_devs entry (as760) for another Nokia device,
    this time the 3250.

    From: Mario Rettig
    Signed-off-by: Alan Stern
    Signed-off-by: Phil Dibowitz
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • This patch (as756) fixes a bug in dummy-hcd found by the lockdep
    checker. In one of the code paths, the driver did not disable
    interrupts before calling a request completion routine.

    Signed-off-by: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Alan Stern
     
  • If USB=m, USB_GADGET=y, the option USB_GADGET_DUMMY_HCD mustn't be
    offered since selecting it results in a compile error.

    This patch fixes kernel Bugzilla #6534 reported by Toralf Förster.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Greg Kroah-Hartman

    Adrian Bunk
     
  • When HZ is set to 250 (new default) or 100, the time span during which
    repeated events from the device are ignored could be too small due to
    ms->jiffies rounding. This causes the auto repeat to kick in early making
    it impossible for the user to generate individual press/release events.
    Increate the timeout to compensate.

    Signed-off-by: Marko Macek
    Cc: Dmitry Torokhov
    Cc: Vojtech Pavlik
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Marko Macek
     
  • Signed-off-by: Luiz Fernando N. Capitulino
    Signed-off-by: Greg Kroah-Hartman

    Luiz Fernando N. Capitulino
     
  • http://www.suse.cz/development/linux-usb/ doesn't exist anymore.

    Signed-off-by: Luiz Fernando N. Capitulino
    Signed-off-by: Greg Kroah-Hartman

    Luiz Fernando N. Capitulino
     
  • The RTL8150 driver currently crashes the kernel if the USB lead is unplugged
    while the device is active. The attached patch adds error handling to
    tell the network layer that the device has gone away when the device is
    unplugged. With this patch, the device can be plugged and unplugged
    to one's hearts' content, without crashing anything.

    Oh, I've also added rudimentary suspend and resume methods.

    Signed-off-by: Peter Chubb
    Acked-by: Petko Manolov
    Signed-off-by: Greg Kroah-Hartman

    Peter Chubb
     
  • Signed-off-by: Greg Kroah-Hartman

    Oliver Bock
     
  • This entry has been a mystery for some time. I had sent this patch as an
    RFC a while ago, and now we've had two reports of this not being needed,
    so I'm removing it.

    In the event there are reports of breakage, we should revert this patch,
    but add a US_FL_NEED_OVERRIDE flag.

    Signed-off-by: Phil Dibowitz
    Signed-off-by: Greg Kroah-Hartman

    Phil Dibowitz
     
  • This patch adds a new unusual_devs flag for when usb-storage needs to ignore
    a device that it would otherwise claim.

    We need to ignore the ZyXEL G220F as it is a virtual CDROM drive which
    includes the windows driver for this USB-WLAN adapter. After the windows
    driver is installed on a windows system, it converts it into a WLAN adapter
    (by ejecting the virtual disc).

    The virtual CDROM is of no interest to Linux users. The zd1211rw driver will
    automatically perform the eject operation, we just need to ensure that
    usb-storage does not claim the device.

    Signed-off-by: Daniel Drake
    Signed-off-by: Matthew Dharm
    Signed-off-by: Phil Dibowitz
    Signed-off-by: Greg Kroah-Hartman

    Daniel Drake
     
  • Can you add the USB IDs for the Belkin USB Serial adapter (P/N F5U257)
    to the pl2303 driver in the Linux Kernel? Are you the appropriate person
    to approach for this?

    I recently purchased a Belkin USB Serial adapter (P/N F5U257) and found
    that it didn't work. After a bit of experimentation I found that it
    works with the pl2303 driver once the ID has been added. See attached
    patch to fix this. Also attached is the output from lsusb -v just in
    case you require any information from there.

    From: Kim Oldfield
    Signed-off-by: Greg Kroah-Hartman

    Kim Oldfield
     
  • Here's a short patch which adds one PID to the set of devices
    supported by the ftdi_sio driver. The device in question is a
    DLP module used as part of a ham radio USB-to-packet adapter.

    From: Dave Platt
    Signed-off-by: Greg Kroah-Hartman

    Dave Platt
     
  • This small patch enables a support of "SHARP WS003SH".
    "SHARP WS003SH" (usullary called "W-ZERO3") is most polular All-in-one handheld
    CellPhone-plus-WindowsMobile5.0 in Japan.

    "SHARP WS003SH" has two modes, "Modem" and "ActiveSync".
    But, "ActiveSync" mode uses NDIS connection.
    Therefore, ipaq.c can only support "Modem" mode.

    http://www.sharp.co.jp/ws/ (Japanese Site)
    http://greggman.com/edit/editheadlines/2005-12-24.htm

    From: Norihiko Tomiyama
    Signed-off-by: Greg Kroah-Hartman

    Norihiko Tomiyama
     
  • The high-speed USB SOC only exists on MPC834x family not MPC83xx family.

    Signed-off-by: Li Yang
    Acked-by: Kumar Gala
    Signed-off-by: Greg Kroah-Hartman

    Li Yang
     
  • Dead code.

    From: Matthias Urlichs
    Signed-off-by: Greg Kroah-Hartman

    Matthias Urlichs
     
  • This device is now supported by sierra.c.

    From: Matthias Urlichs
    Signed-off-by: Greg Kroah-Hartman

    Matthias Urlichs
     
  • Signed-off-by: Jon K Hellan
    Signed-Off-By: Matthias Urlichs
    Signed-off-by: Greg Kroah-Hartman

    Matthias Urlichs
     
  • The short driver names were not unique,
    which prevented the driver from actually loading.

    Also, one of the ioctl pointers was missing.

    Signed-Off-By: Matthias Urlichs
    Signed-off-by: Greg Kroah-Hartman

    Matthias Urlichs
     
  • Signed-off-by: Matthias Urlichs
    Signed-off-by: Greg Kroah-Hartman

    Matthias Urlichs
     
  • OHCI updates for AT91 series processors:

    - Get ready for at91sam926x processors (ARMv5tej not ARMv4t)

    - Suspend/resume support now behaves properly

    - In "standby" mode, OHCI can be a source of system wakeup events
    (remote wakeup, device connect/disconnect, etc)

    And minor cleanups.

    Signed-off-by: David Brownell
    Signed-off-by: Andrew Victor
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • UDC updates for AT91 series processors:

    - Get ready for at91sam926x processors (ARMv5tej not ARMv4t)

    - Suspend/resume support now behaves properly

    - In "standby" mode, UDC can be a source of system wakeup events
    (host resume, device connect/disconnect, etc)

    - Fix IRQ storming issues, seemingly related to clock disabling
    changes that went in a while back

    And minor cleanups, especially whitespace.

    Signed-off-by: David Brownell
    Signed-off-by: Andrew Victor
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: David S. Miller

    Alexey Dobriyan
     
  • include/linux/security.h: In function ‘security_release_secctx’:
    include/linux/security.h:2757: warning: ‘return’ with a value, in function returning void

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Remove the lock_cpu_hotplug()/unlock_cpu_hotplug() calls from
    net_dma_rebalance

    The lock_cpu_hotplug()/unlock_cpu_hotplug() sequence in
    net_dma_rebalance is both incorrect (as pointed out by David Miller)
    because lock_cpu_hotplug() may sleep while the net_dma_event_lock
    spinlock is held, and unnecessary (as pointed out by Andrew Morton) as
    spin_lock() disables preemption which protects from CPU hotplug
    events.

    Signed-off-by: Chris Leech
    Signed-off-by: David S. Miller

    Chris Leech
     
  • This patch fixes a bug in the DECnet routing code where we were
    selecting a loopback device in preference to an outward facing device
    even when the destination was known non-local. This patch should fix
    the problem.

    Signed-off-by: Patrick Caulfield
    Signed-off-by: Steven Whitehouse
    Signed-off-by: David S. Miller

    Patrick Caulfield