1. 29 9月, 2006 25 次提交
  2. 28 9月, 2006 15 次提交
    • A
      [ARM] 3865/1: AT91RM9200 header updates · 72729910
      Andrew Victor 提交于
      This is more preparation for adding support for the new Atmel AT91SAM9
      processors.
      
      Changes include:
      - Replace AT91_BASE_* with AT91RM9200_BASE_*
      - Replace AT91_ID_* with AT91RM9200_ID_*
      - ROM, SRAM and UHP address definitions moved to at91rm9200.h.
      - The raw AT91_P[ABCD]_* definitions are now depreciated in favour of
      the GPIO API.
      Signed-off-by: NAndrew Victor <andrew@sanpeople.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      72729910
    • A
      [PATCH] USB Storage: fix Rio Karma eject support build error · 7f38aa0f
      Andrew Morton 提交于
      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: NBob Copeland <me@bobcopeland.com>
      Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7f38aa0f
    • A
      USB: Airprime driver improvements to allow full speed EvDO transfers · 5dda1712
      Andy Gay 提交于
      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: NGreg Kroah-Hartman <gregkh@suse.de>
      5dda1712
    • D
      USB: remove OTG build warning · fc849b85
      David Brownell 提交于
      Somewhere along the line, a variable in a USB-OTG codepath
      stopped being used; this removes the relevant compiler warning.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      fc849b85
    • D
      USB: EHCI update VIA workaround · 26f953fd
      David Brownell 提交于
      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: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      26f953fd
    • A
      USB: force root hub resume after power loss · 353a4098
      Alan Stern 提交于
      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: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      353a4098
    • P
      USB: ohci_usb can oops on shutdown · 71795c1d
      Pete Zaitcev 提交于
      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: NPete Zaitcev <zaitcev@redhat.com>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      71795c1d
    • P
      USB: Dealias -110 code (more complete) · 38e2bfc9
      Pete Zaitcev 提交于
      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: NPete Zaitcev <zaitcev@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      38e2bfc9
    • T
      USB: Remove unneeded void * casts in core files · ec17cf1c
      Tobias Klauser 提交于
      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: NTobias Klauser <tklauser@distanz.ch>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ec17cf1c
    • T
      USB: u132-hcd: host controller driver for ELAN U132 adapter · d774efea
      Tony Olech 提交于
      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: NTony Olech <tony.olech@elandigitalsystems.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d774efea
    • T
      USB: ftdi-elan: client driver for ELAN Uxxx adapters · a5c66e4b
      Tony Olech 提交于
      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: NTony Olech <tony.olech@elandigitalsystems.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      a5c66e4b
    • J
      usb serial: support Alcor Micro Corp. USB 2.0 TO RS-232 through pl2303 driver · 8fd80133
      Johannes Steingraeber 提交于
      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: NJohannes Steingraeber <Jo_Stein@web.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      8fd80133
    • P
      3f542974
    • S
      USB: add PlayStation 2 Trance Vibrator driver · 5638e4d9
      Sam Hocevar 提交于
      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: NSam Hocevar <sam@zoy.org>
      Cc: Pete Zaitcev <zaitcev@redhat.com>
      Cc: Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      5638e4d9
    • S
      USB: Add ADU support for Ontrak ADU devices · 03270634
      Steven Haigh 提交于
      This patch adds support for Ontrak ADU USB devices.
      
      Fixed for printk issues by Randy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NSteven Haigh <netwiz@crc.id.au>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      03270634