1. 05 1月, 2006 7 次提交
    • M
      [PATCH] USB: Eagle and ADI 930 usb adsl modem driver · b72458a8
      matthieu castet 提交于
      A driver for USB ADSL modems based on the ADI eagle chipset using the
      usb_atm infrastructure.
      
      The managing part was taken from bsd ueagle driver, other parts were
      written from scratch.
      
      The driver uses the in-kernel firmware loader :
      - to load  a first usb firmware when the modem is in pre-firmware state
      - to load the dsp firmware that are swapped in host memory.
      - to load CMV (configuration and management variables) when the modem
      boot. (We can't use options or sysfs for this as there many possible
      values. See
      https://mail.gna.org/public/eagleusb-dev/2005-04/msg00031.html for a
      description of some)
      - to load fpga code for 930 chipset.
      
      The device had 4 endpoints :
      * 2 for data (use by usbatm). The incoming
      endpoint could be iso or bulk. The modem seems buggy and produce lot's
      of atm errors when using it in bulk mode for speed > 3Mbps, so iso
      endpoint is need for speed > 3Mbps. At the moment iso endpoint need a
      patched usbatm library and for this reason is not included in this patch.
      
      * One bulk endpoint for uploading dsp firmware
      
      * One irq endpoint that notices the driver
          - if we need to upload a page of the dsp firmware
          - an ack for read or write CMV and the value (for the read case).
      
      If order to make the driver cleaner, we design synchronous
      (read|write)_cmv :
      -send a synchronous control message to the modem
      -wait for an ack or a timeout
      -return the value if needed.
      
      In order to run these synchronous usb messages we need a kernel thread.
      
      The driver has been tested  with sagem fast 800 modems with different
      eagle chipset revision and with ADI 930 since April 2005.
      Signed-off-by: NMatthieu CASTET <castet.matthieu@free.fr>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      b72458a8
    • A
      [PATCH] USB: EHCI: fix conflation of buf == 0 with len == 0 · 6912354a
      Alan Stern 提交于
      When the ehci-hcd driver prepares a control URB, it tests for a
      zero-length data stage by looking at the transfer_dma value instead of
      the transfer_buffer_length.  (In fact it does this even for non-control
      URBs, which is an additional aspect of the same bug.)
      
      However, under certain circumstances it's possible for transfer_dma to
      be 0 while transfer_buffer_length is non-zero.  This can happen when a
      freshly allocated page (mapped to address 0 and marked Copy-On-Write,
      but never written to) is used as the source buffer for an OUT transfer.
      This patch (as598) fixes the problem.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      6912354a
    • O
      [PATCH] USB: isp116x-hcd: cleanup · 959eea21
      Olav Kongas 提交于
      The attached patch makes a cleanup of isp116x-hcd. Most of the volume of
      the patch comes from 2 sources: moving the code around to get rid of a
      few function prototypes and reworking register dumping functions/macros.
      Among other things, switched over from using procfs to debugfs.
      
      Cleanup. The following changes were made:
      
      - Rework register dumping code so it can be used for dumping
        to both syslog and debugfs.
      - Switch from procfs to debugfs..
      - Die gracefully on Unrecoverable Error interrupt.
      - Fix memory leak in isp116x_urb_enqueue(), if HC happens to
        die in a narrow time window.
      - Fix a 'sparce' warning (unnecessary cast).
      - Report Devices Removable for root hub ports by default
        (was Devices Permanently Attached).
      - Move bus suspend/resume functions down in code to get rid of
        a few function prototypes.
      - A number of one-line cleanups.
      - Add an entry to MAINTAINERS.
      Signed-off-by: NOlav Kongas <ok@artecdesign.ee>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       MAINTAINERS                    |    6
       drivers/usb/host/isp116x-hcd.c |  429 ++++++++++++++++-------------------------
       drivers/usb/host/isp116x.h     |   83 +++++--
       3 files changed, 230 insertions(+), 288 deletions(-)
      959eea21
    • O
      [PATCH] USB: isp116x-hcd: support reiniting HC on resume · 535488fc
      Olav Kongas 提交于
      Until now the isp116x-hcd had no support to reinitialize the HC on
      resume, if the controller lost its state during suspend. This patch,
      generated against your Oct 26 git tree, adds that support. The patch is
      basically the same as the one tested by Ivan Kalatchev, who reported the
      problem, on 2.6.13.
      
      Please apply,
      
      Support reinitializing the isp116x host controller from scratch on
      resume, if the controller has lost its state.
      Signed-off-by: NOlav Kongas <ok@artecdesign.ee>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      535488fc
    • D
      [PATCH] USB: Converting cdc acm to a ring queue · 61a87adf
      David Kubicek 提交于
      this patch by David converts the sending queue of the CDC ACM driver
      to a queue of URBs. This is needed for quicker devices. Please apply.
      Signed-Off-By: NOliver Neukum <oliver@neukum.name>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
       drivers/usb/class/cdc-acm.c |  229 ++++++++++++++++++++++++++++++--------------
       drivers/usb/class/cdc-acm.h |   33 +++++-
       2 files changed, 185 insertions(+), 77 deletions(-)
      61a87adf
    • R
      [PATCH] USB: Add pxa27x OHCI PM functions · 2e1dcc16
      Richard Purdie 提交于
      Add power management functions for the pxa27x USB OHCI host controller.
      This is a totally rewritten version of the patch by Nicolas Pitre and
      Todd Poynor which accounts for recent USB changes.
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      2e1dcc16
    • R
      [PATCH] USB: pxa27x OHCI - Separate platform code from main driver · 81f280e2
      Richard Purdie 提交于
      To allow multiple platforms to use the PXA27x OHCI driver, the platform
      code needs to be moved into the board specific files in
      arch/arm/mach-pxa. This patch does this for mainstone and adds
      preliminary hooks to allow other boards to use the driver.
      
      This has been compile tested for mainstone and successfully run on Spitz
      (Sharp Zaurus SL-C3000) with the addition of an appropriate board
      support file.
      Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
      Signed-off-by: NNicolas Pitre <nico@cam.org>
      Acked-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      81f280e2
  2. 03 1月, 2006 1 次提交
    • B
      [PATCH] powerpc: more g5 overtemp problem fix · f12f4d90
      Benjamin Herrenschmidt 提交于
      Some G5s still occasionally experience shutdowns due to overtemp
      conditions despite the recent fix. After analyzing logs from such
      machines, it appears that the overtemp code is a bit too quick at
      shutting the machine down when reaching the critical temperature (tmax +
      8) and doesn't leave the fan enough time to actually cool it down. This
      happens if the temperature of a CPU suddenly rises too high in a very
      short period of time, or occasionally on boot (that is the CPUs are
      already overtemp by the time the driver loads).
      
      This patches makes the code a bit more relaxed, leaving a few seconds to
      the fans to do their job before kicking the machine shutown.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f12f4d90
  3. 31 12月, 2005 3 次提交
  4. 30 12月, 2005 6 次提交
  5. 29 12月, 2005 3 次提交
  6. 28 12月, 2005 2 次提交
    • B
      [PATCH] Fix more radeon GART start calculation cases · 67dbb4ea
      Benjamin Herrenschmidt 提交于
      As reported by Jules Villard <jvillard@ens-lyon.fr> and some others, the
      recent GART aperture start reconfiguration causes problems on some
      setups.
      
      What I _think_ might be happening is that the X server is also trying to
      muck around with the card memory map and is forcing it back into a wrong
      setting that also happens to no longer match what the DRM wants to do
      and blows up.  There are bugs all over the place in that code (and still
      some bugs in the DRM as well anyway).
      
      This patch attempts to avoid that by using the largest of the 2 values,
      which I think will cause it to behave as it used to for you and will
      still fix the problem with machines that have an aperture size smaller
      than the video memory.
      Acked-by: NJules Villard <jvillard@ens-lyon.fr>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      67dbb4ea
    • D
      [NET]: Validate socket filters against BPF_MAXINSNS in one spot. · 1b93ae64
      David S. Miller 提交于
      Currently the checks are scattered all over and this leads
      to inconsistencies and even cases where the check is not made.
      
      Based upon a patch from Kris Katterjohn.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1b93ae64
  7. 27 12月, 2005 2 次提交
  8. 25 12月, 2005 2 次提交
  9. 24 12月, 2005 7 次提交
  10. 23 12月, 2005 5 次提交
  11. 22 12月, 2005 2 次提交