1. 28 6月, 2005 3 次提交
  2. 26 6月, 2005 1 次提交
    • C
      [PATCH] Cleanup patch for process freezing · 3e1d1d28
      Christoph Lameter 提交于
      1. Establish a simple API for process freezing defined in linux/include/sched.h:
      
         frozen(process)		Check for frozen process
         freezing(process)		Check if a process is being frozen
         freeze(process)		Tell a process to freeze (go to refrigerator)
         thaw_process(process)	Restart process
         frozen_process(process)	Process is frozen now
      
      2. Remove all references to PF_FREEZE and PF_FROZEN from all
         kernel sources except sched.h
      
      3. Fix numerous locations where try_to_freeze is manually done by a driver
      
      4. Remove the argument that is no longer necessary from two function calls.
      
      5. Some whitespace cleanup
      
      6. Clear potential race in refrigerator (provides an open window of PF_FREEZE
         cleared before setting PF_FROZEN, recalc_sigpending does not check
         PF_FROZEN).
      
      This patch does not address the problem of freeze_processes() violating the rule
      that a task may only modify its own flags by setting PF_FREEZE. This is not clean
      in an SMP environment. freeze(process) is therefore not SMP safe!
      Signed-off-by: NChristoph Lameter <christoph@lameter.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3e1d1d28
  3. 24 6月, 2005 3 次提交
  4. 23 6月, 2005 1 次提交
  5. 21 6月, 2005 12 次提交
  6. 18 6月, 2005 3 次提交
  7. 17 6月, 2005 1 次提交
  8. 13 6月, 2005 2 次提交
    • D
      [PATCH] spin longer for ehci port reset completion · c22fa3ac
      David Brownell 提交于
      This makes the EHCI driver spin a bit longer before concluding that the
      port reset failed.  "Obviously safe."
      
      It allows some devices to enumerate that previously didn't.  We've seen
      a bunch of these problem reports recently, this will make some go away.
      
      As reported by Michael Zapf <Michael.Zapf@uni-kassel.de>, some EHCI
      controllers seem to take forever to finish port resets and produce
      "port N reset error -110" type errors.  Spinning a bit longer helps.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c22fa3ac
    • A
      [PATCH] pwc bug fix · c0105338
      Alan Cox 提交于
      The pwc chainsaw session left some setups not working.  There is a
      sanity check on compression buffers that simply isn't right any more as
      we never allocate one.
      
      This doesn't address the email and other changes.  I'll do those
      tomorrow if I get time, but it is the minimal fix for the code and basic
      feature set.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c0105338
  9. 09 6月, 2005 1 次提交
    • I
      [PATCH] USB: ftdi_sio: avoid losing received data in tty-ldisc · 76854cea
      Ian Abbott 提交于
      ftdi_sio: Avoid losing bytes at tty-ldisc.
      
      This patch was originally developed by Daniel Smertnig.  I
      (Ian Abbott) made a few changes.  It has been tested by both
      Daniel and I, at least for raw, non-canonical receive data
      processing.
      
      Here is Daniel's original description of the patch:
      
      ===
      During a project in which I was using a FTDI 232BM to
      transmit data at relative high speeds (625kBit/s), I
      noticed a problem where data was lost even if flow
      control was enabled: The FTDI-Driver receives 512 Bytes
      of data over USB at a time, which consists of 8 64-Byte
      packets. Subtracting the 2 bytes of status information
      included in each packet this gives 496 "real" data
      bytes per read.
      
      This data is passed (indirectly, via the flip buffers)
      to the tty line discipline which takes care of
      throttling when there the free buffer space reaches
      TTY_THRESHOLD_THROTTLE (128). Because the FTDI driver
      processes up to 496 bytes at a time, throttling won't
      happen in time and the line discipline will discard the
      remaining bytes.
      
      To avoid this the patch passes data in 62-byte blocks
      to the tty layer and checks the available space in the
      ldisc-buffers. If there isn't enough free space,
      processing the rest of the data is delayed using a
      workqueue.
      
      Note: The original problem should be easily
      reproducible with a userspace program which does slow &
      small reads.
      ===
      Signed-off-by: NIan Abbott <abbotti@mev.co.uk>
      Signed-off-by: NDaniel Smertnig <daniel.smertnig@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      76854cea
  10. 03 6月, 2005 9 次提交
  11. 01 6月, 2005 4 次提交
    • G
      [PATCH] USB: fix usb-serial generic initialization · 06299db3
      Greg Kroah-Hartman 提交于
      At module load time, if a generic device is found, the tty information
      for the device is not set up properly (as the tty structures aren't initialized
      yet.)  This can cause big problems for things like udev.  This patch fixes this.
      
      Thanks to Kay Sievers for the original patch for this problem.
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      06299db3
    • I
      [PATCH] USB: ftdi_sio: new PID for ELV UM100 · 47900743
      Ian Abbott 提交于
      ftdi_sio: Add PID for "ELV USB Module UM100".
      PID sent by Armin Laugher.
      Signed-off-by: NIan Abbott <abbotti@mev.co.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      47900743
    • D
      [PATCH] USB: add sl811_cs support · c6de2b64
      David Brownell 提交于
      This adds support for a CF-card USB Host adapter, the Ratoc REX-CFU1U, by
      wrapping a PCMCIA driver around the existing "sl811-hcd" platform driver.
      
      This CF card is especially useful for PDAs, which currently tend to have
      no other solution for USB host capability.
      
      From: Botond Botyanszki <boti@rocketmail.com>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c6de2b64
    • D
      [PATCH] USB: sl811-hcd fixes · 1e9a47b6
      David Brownell 提交于
      Various fixes to the sl811-hcd driver:
      
        * Fix small glitches that crept in during recent evolution of usbcore's hcd
          glue layer, coupling endpoint state records to usbcore and active urbs.
          (As noted by folk whose boards weren't stuck on 2.6.9 kernels...)
      
        * Cope with various system-specific issues:
            - Some configurations (e.g. a CF-card uses this chip) have iospace
              addresses for the two registers, rather than memory mapped ones.
            - Some configurations do interesting things with IRQs; maybe the
              line is shared, or it doesn't support level triggering.
            - Not all boards can drive the chip reset line in software.
      
        * Address a potential race during unlinking.
      
        * Tweak probe/remove section info to handle the case where this segment
          of a platform bus is hotpluggable (e.g. CF card).  (The basic problem
          is that CONFIG_HOTPLUG is global, which is wrong since not all busses
          can hotplug even on hotplug-friendly systems...)  Also export the
          driver, so that the CF driver can depend on it.
      
      Also removed some annoying end-of-line whitespace.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1e9a47b6