1. 28 Sep, 2006 20 commits
  2. 27 Sep, 2006 20 commits
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 · a77c64c1
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (48 commits)
        [PATCH] bonding: update version number
        [PATCH] git-netdev-all: pc300_tty build fix
        [PATCH] Make PC300 WAN driver compile again
        [PATCH] Modularize generic HDLC
        [PATCH] more s2io __iomem annotations
        [PATCH] restore __iomem annotations in e1000
        [PATCH] 64bit bugs in s2io
        [PATCH] bonding: Fix primary selection error at enslavement time
        [PATCH] bonding: Don't mangle LACPDUs
        [PATCH] bonding: Validate probe replies in ARP monitor
        [PATCH] bonding: Don't release slaves when master is admin down
        [PATCH] bonding: Add priv_flag to avoid event mishandling
        [PATCH] bonding: Handle large hard_header_len
        [PATCH] bonding: Remove unneeded NULL test
        [PATCH] bonding: Format fix in seq_printf call
        [PATCH] bonding: Convert delay value from s16 to int
        [PATCH] bonding: Allow bonding to enslave a 10 Gig adapter
        Delete unused drivers/net/gt64240eth.h
        [PATCH] skge: fiber support
        [PATCH] fix possible NULL ptr deref in forcedeth
        ...
      a77c64c1
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev · ac7f6b5e
      Linus Torvalds authored
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        [libata] Don't use old-EH ->eng_timeout() hook when not needed
        [libata] sata_mv: fix oops by filling in missing hook
        [libata] One more s/15/ATA_SECONDARY_IRQ/ substitution
        [libata] pata_serverworks: fill in ->irq_clear hook
        [PATCH] pata_serverworks: correct PCI ID in cable detection table
        [PATCH] libata-sff: use our IRQ defines
        [PATCH] libata-eh: Remove layering violation and duplication when handling absent ports
        [PATCH] libata: tighten rules for legacy dependancies
        [PATCH] libata: refuse to register IRQless ports
      ac7f6b5e
    • Linus Torvalds's avatar
      Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 · 1f9bd4c9
      Linus Torvalds authored
      * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: (129 commits)
        [PATCH] USB Storage: fix Rio Karma eject support build error
        USB: Airprime driver improvements to allow full speed EvDO transfers
        USB: remove OTG build warning
        USB: EHCI update VIA workaround
        USB: force root hub resume after power loss
        USB: ohci_usb can oops on shutdown
        USB: Dealias -110 code (more complete)
        USB: Remove unneeded void * casts in core files
        USB: u132-hcd: host controller driver for ELAN U132 adapter
        USB: ftdi-elan: client driver for ELAN Uxxx adapters
        usb serial: support Alcor Micro Corp. USB 2.0 TO RS-232 through pl2303 driver
        USB: Moschip 7840 USB-Serial Driver
        USB: add PlayStation 2 Trance Vibrator driver
        USB: Add ADU support for Ontrak ADU devices
        aircable: fix printk format warnings
        Add AIRcable USB Bluetooth Dongle Driver
        cypress_m8: implement graceful failure handling
        cypress_m8: improve control endpoint error handling
        cypress_m8: use usb_fill_int_urb where appropriate
        cypress_m8: use appropriate URB polling interval
        ...
      1f9bd4c9
    • Andi Kleen's avatar
      [PATCH] i386: Use early clobbers for semaphores now · 00463c16
      Andi Kleen authored
      The new code does clobber the result early, so make sure to tell
      gcc to not put it into the same register as a input argument
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Cc: Andrew Morton <akpm@osdl.org>
      Acked-by: default avatarKyle McMartin <kyle@parisc-linux.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      00463c16
    • Jay Vosburgh's avatar
      [PATCH] bonding: update version number · 0ba8821b
      Jay Vosburgh authored
      	I neglected to properly update the version number in the recent
      patch series; this sets it to something reasonable.
      Signed-off-by: default avatarJay Vosburgh <fubar@us.ibm.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      0ba8821b
    • Andrew Morton's avatar
      [PATCH] git-netdev-all: pc300_tty build fix · fab2062e
      Andrew Morton authored
      In file included from drivers/net/wan/pc300_tty.c:59:
      drivers/net/wan/pc300.h:335: error: field 'pppdev' has incomplete type
      
      Cc: Krzysztof Halasa <khc@pm.waw.pl>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      fab2062e
    • Andrew Morton's avatar
      [PATCH] USB Storage: fix Rio Karma eject support build error · 7f38aa0f
      Andrew Morton authored
      In file included from drivers/usb/storage/usb.c:180:
      drivers/usb/storage/unusual_devs.h:221: error: 'US_PR_KARMA' undeclared here (not in a function)
      drivers/usb/storage/unusual_devs.h:221: error: 'rio_karma_init' undeclared here (not in a function)
      
      Cc: Keith Bennett <keith@mcs.st-and.ac.uk>
      Acked-by: default avatarBob Copeland <me@bobcopeland.com>
      Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      7f38aa0f
    • Andy Gay's avatar
      USB: Airprime driver improvements to allow full speed EvDO transfers · 5dda1712
      Andy Gay authored
      Adapted from an earlier patch by Greg KH <gregkh@suse.de>.
      That patch added multiple read urbs and larger transfer buffers to allow
      data transfers at full EvDO speed.
      
      This version includes additional device IDs and fixes a memory leak in
      the transfer buffer allocation.
      
      Some (maybe all?) of the supported devices present multiple bulk endpoints,
      the additional EPs can be used for control and status functions,
      This version allocates 3 EPs by default, that can be changed using
      the 'endpoints' module parameter.
      
      Tested with Sierra Wireless EM5625 and MC5720 embedded modules.
      
      Device ID (0x0c88, 0x17da) for the Kyocera Wireless KPC650/Passport
      was added but is not yet tested.
      
      
      From: Andy Gay <andy@andynet.net>
      Cc: Kevin Lloyd <linux@sierrawireless.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      5dda1712
    • David Brownell's avatar
      USB: remove OTG build warning · fc849b85
      David Brownell authored
      Somewhere along the line, a variable in a USB-OTG codepath
      stopped being used; this removes the relevant compiler warning.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      fc849b85
    • David Brownell's avatar
      USB: EHCI update VIA workaround · 26f953fd
      David Brownell authored
      This revamps handling of the hardware "async advance" IRQ, and its watchdog
      timer.  Basically it dis-entangles that important timeout from the others,
      simplifying the associated state and code to make it more robust.
      
      This reportedly improves behavior of EHCI on some systems with VIA chips,
      and AFAIK won't affect non-VIA hardware.  VIA systems need this code to
      recover from silcon bugs whereby the "async advance" IRQ isn't issued.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      26f953fd
    • Alan Stern's avatar
      USB: force root hub resume after power loss · 353a4098
      Alan Stern authored
      This patch(as785) forces the PM core to resume a root hub after a
      power loss during system sleep.  If the root hub had been suspended
      before the system sleep then normally the PM core would not resume it
      afterward.  Without this resume, various sorts of wakeup events (like
      port change events) can get lost.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      353a4098
    • Pete Zaitcev's avatar
      USB: ohci_usb can oops on shutdown · 71795c1d
      Pete Zaitcev authored
      When ohci-hcd is shutting down (for rmmod or PC-card removal), there is
      a window when the device is shut down, HC communication area (->hcca)
      is freed, but the core has not called "free_irq" yet. If another device
      triggers a shared interrupt in this window, we oops when trying to
      access the freed ->hcca.
      
      This patch removes the window by calling free_irq before ->hcca is freed.
      
      The patch is tested at the PC hotplug test rig at Stratus, and with
      rmmod by Rafael Wysocki.
      Signed-off-by: default avatarPete Zaitcev <zaitcev@redhat.com>
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      71795c1d
    • Pete Zaitcev's avatar
      USB: Dealias -110 code (more complete) · 38e2bfc9
      Pete Zaitcev authored
      The purpose of this patch is to split off the case when a device does
      not reply on the lower level (which is reported by HC hardware), and
      a case when the device accepted the request, but does not reply at
      upper level. This redefinition allows to diagnose issues easier,
      without asking the user if the -110 happened "immediately".
      
      The usbmon splits such cases already thanks to its timestamp, but
      it's not always available.
      
      I adjusted all drivers which I found affected (by searching for "urb").
      Out of tree drivers may suffer a little bit, but I do not expect much
      breakage. At worst they may print a few messages.
      Signed-off-by: default avatarPete Zaitcev <zaitcev@redhat.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      38e2bfc9
    • Tobias Klauser's avatar
      USB: Remove unneeded void * casts in core files · ec17cf1c
      Tobias Klauser authored
      The patch removes unneeded casts for the following (void *) pointers:
       - struct file: private
       - struct urb: context
       - struct usb_bus: hcpriv
       - return value of kmalloc()
      
      The patch also contains some whitespace cleanup in the relevant areas.
      Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      ec17cf1c
    • Tony Olech's avatar
      USB: u132-hcd: host controller driver for ELAN U132 adapter · d774efea
      Tony Olech authored
      This "u132-hcd" module is one half of the "driver" for
      ELAN's U132 which is a USB to CardBus OHCI controller
      adapter. This module needs the "ftdi-elan" module in
      order to communicate to CardBus OHCI controller inserted
      into the U132 adapter.
      
      When the "ftdi-elan" module detects a supported CardBus
      OHCI controller in the U132 adapter it loads this "u132-hcd"
      module.
      
      Upon a successful device probe() the single workqueue
      is started up which does all the processing of commands
      from the USB core that implement the host controller.
      
      The workqueue maintains the urb queues and issues commands
      via the functions exported by the "ftdi-elan" module. Each
      such command will result in a callback.
      
      Note that the "ftdi-elan" module is a USB client driver.
      
      Note that this "u132-hcd" module is a (cut-down OHCI)
      host controller.
      
      Thus we have a topology with the parent of a host controller
      being a USB client! This really stresses the USB subsystem
      semaphore/mutex handling in the module removal.
      Signed-off-by: default avatarTony Olech <tony.olech@elandigitalsystems.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      d774efea
    • Tony Olech's avatar
      USB: ftdi-elan: client driver for ELAN Uxxx adapters · a5c66e4b
      Tony Olech authored
      This "ftdi-elan" module is one half of the "driver" for
      ELAN's Uxxx series adapters which are USB to PCMCIA CardBus
      adapters. Currently only the U132 adapter is available and
      it's module is called "u132-hcd".
      
      When the USB hot plug subsystem detects a Uxxx series adapter
      it should load this module.
      
      Upon a successful device probe() the jtag device file interface
      is created and the status workqueue started up.
      
      The jtag device file interface exists for the purpose of
      updating the firmware in the Uxxx series adapter, but as
      yet it had never been used.
      
      The status workqueue initializes the Uxxx and then sits there
      polling the Uxxx until a supported PCMCIA CardBus device is
      detected it will start the command and respond workqueues
      and then load the module that handles the device. This will
      initially be only the u132-hcd module. The status workqueue
      then just polls the Uxxx looking for card ejects.
      
      The command and respond workqueues implement a command
      sequencer for communicating with the firmware on the other
      side of the FTDI chip in the Uxxx. This "ftdi-elan" module
      exports some functions to interface with the sequencer.
      
      Note that this module is a USB client driver.
      
      Note that the "u132-hcd" module is a (cut-down OHCI)
      host controller.
      
      Thus we have a topology with the parent of a host controller
      being a USB client! This really stresses the USB subsystem
      semaphore/mutex handling in the module removal.
      Signed-off-by: default avatarTony Olech <tony.olech@elandigitalsystems.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      
      a5c66e4b
    • Johannes Steingraeber's avatar
      usb serial: support Alcor Micro Corp. USB 2.0 TO RS-232 through pl2303 driver · 8fd80133
      Johannes Steingraeber authored
      Patch to add support for Alcor Micro Corp. USB 2.0 TO RS-232 converter.
      This patch adds VID and PID to pl2303.[ch], adds it to the "HORRIBLE
      HACK FOR PL2303" in usb-serial.c and also prevents cdc-acm to claim
      driving this device by blacklisting it in hid-core.
      Signed-off-by: default avatarJohannes Steingraeber <Jo_Stein@web.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      
      8fd80133
    • Paul B Schroeder's avatar
      3f542974
    • Sam Hocevar's avatar
      USB: add PlayStation 2 Trance Vibrator driver · 5638e4d9
      Sam Hocevar authored
      This patch is a driver for the PlayStation 2 specific Trance Vibrator
      device. The only thing that device can do is vibrate at various speeds.
      Signed-off-by: default avatarSam Hocevar <sam@zoy.org>
      Cc: Pete Zaitcev <zaitcev@redhat.com>
      Cc: Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      5638e4d9
    • Steven Haigh's avatar
      USB: Add ADU support for Ontrak ADU devices · 03270634
      Steven Haigh authored
      This patch adds support for Ontrak ADU USB devices.
      
      Fixed for printk issues by Randy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarSteven Haigh <netwiz@crc.id.au>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      03270634