1. 29 10月, 2005 11 次提交
  2. 28 10月, 2005 1 次提交
  3. 27 10月, 2005 2 次提交
  4. 26 10月, 2005 2 次提交
    • L
      PCI: be more verbose about resource quirks · 6693e74a
      Linus Torvalds 提交于
      When reserving an PCI quirk, note that in the kernel bootup messages.
      
      Also, parse the strange PIIX4 device resources - they should get their
      own PCI resource quirks, but for now just print out what it finds to
      verify that the code does the right thing.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      6693e74a
    • A
      [PATCH] qlogic lockup fix · 444d1d9b
      Andrew Morton 提交于
      If qla2x00_probe_one()'s call to qla2x00_iospace_config() fails, we call
      qla2x00_free_device() to clean up.  But because ha->dpc_pid hasn't been set
      yet, qla2x00_free_device() tries to stop a kernel thread which hasn't started
      yet.  It does wait_for_completion() against an uninitialised completion struct
      and the kernel hangs up.
      
      Fix it by initialising ha->dpc_pid a bit earlier.
      
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      444d1d9b
  5. 25 10月, 2005 3 次提交
  6. 24 10月, 2005 3 次提交
  7. 22 10月, 2005 2 次提交
  8. 20 10月, 2005 6 次提交
  9. 19 10月, 2005 1 次提交
  10. 18 10月, 2005 9 次提交
    • A
      [PATCH] vesafb: Fix display corruption on display blank · bb7e257e
      Antonino A. Daplas 提交于
      Reported by: Bob Tracy <rct@gherkin.frus.com>
      
       "...I've got a Toshiba notebook (730XCDT -- Pentium 150MMX) for which
        I'm using the Vesa FB driver.  When the machine has been idle for some
        time and the driver attempts to powerdown the display, rather than the
        display going blank, it goes gray with several strange lines.  When I
        hit the "shift" key or other-wise wake up the display, the old video
        state is not fully restored..."
      
      vesafb recently added a blank method which has only 2 states, powerup and
      powerdown.  The powerdown state is used for all blanking levels, but in his
      case, powerdown does not work correctly for higher levels of display
      powersaving. Thus, for intermediate power levels, use software blanking,
      and use only hardware blanking for an explicit powerdown.
      Signed-off-by: NAntonino Daplas <adaplas@pol.net>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      bb7e257e
    • L
      Add some basic .gitignore files · 1e65174a
      Linus Torvalds 提交于
      This still leaves driver and architecture-specific subdirectories alone,
      but gets rid of the bulk of the "generic" generated files that we should
      ignore.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1e65174a
    • D
      [PATCH] uniput - fix crash on SMP · e7507ed9
      Dmitry Torokhov 提交于
      Only signal completion after marking request slot as free, otherwise other
      processor can free request structure before we finish using it.
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e7507ed9
    • P
      [PATCH] Fix /proc/acpi/events around suspend · 5cc9eeef
      Pavel Machek 提交于
      Fix -EIO on /proc/acpi/events after suspends.  This actually breaks
      suspending by power button in many setups.
      Signed-off-by: NPavel Machek <pavel@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5cc9eeef
    • S
      [PATCH] n_r3964 mod_timer() fix · 9ac0b9c1
      Stephan Brodkorb 提交于
      Since Revision 1.10 was released the n_r3964 module wasn't able to receive any
      data.  The reason for that behavior is because there were some wrong calls of
      mod_timer(...) in the function receive_char (...).  This patch should fix this
      problem and was successfully tested with talking to some kuka industrial
      robots.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9ac0b9c1
    • J
      [PATCH] Fix and clean up quirk_intel_ide_combined() configuration · cc675230
      Jeff Garzik 提交于
      This change makes quirk_intel_ide_combined() dependent on the precise
      conditions under which it is needed:
      
      * IDE is built in
      * IDE SATA option is not set
      * ata_piix or ahci drivers are enabled
      
      This fixes an issue where some modular configurations would not cause
      the quirk to be enabled.
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NLinus torvalds <torvalds@osdl.org>
      cc675230
    • C
      [PATCH] USB: fix bug in handling of highspeed usb HID devices · 13b58ee5
      Christian Krause 提交于
      During the development of an USB device I found a bug in the handling of
      Highspeed HID devices in the kernel.
      
      What happened?
      
      Highspeed HID devices are correctly recognized and enumerated by the
      kernel. But even if usbhid kernel module is loaded, no HID reports are
      received by the kernel.
      
      The output of the hardware USB analyzer told me that the host doesn't
      even poll for interrupt IN transfers (even the "interrupt in" USB
      transfer are polled by the host).
      
      After some debugging in hid-core.c I've found the reason.
      
      In case of a highspeed device, the endpoint interval is re-calculated in
      driver/usb/input/hid-core.c:
      
      line 1669:
                   /* handle potential highspeed HID correctly */
                   interval = endpoint->bInterval;
                   if (dev->speed == USB_SPEED_HIGH)
                         interval = 1 << (interval - 1);
      
      Basically this calculation is correct (refer to USB 2.0 spec, 9.6.6).
      This new calculated value of "interval" is used as input for
      usb_fill_int_urb:
      
      line 1685:
      
                  usb_fill_int_urb(hid->urbin, dev, pipe, hid->inbuf, 0,
                         hid_irq_in, hid, interval);
      
      Unfortunately the same calculation as above is done a second time in
      usb_fill_int_urb in the file include/linux/usb.h:
      
      line 933:
              if (dev->speed == USB_SPEED_HIGH)
                      urb->interval = 1 << (interval - 1);
              else
                      urb->interval = interval;
      
      This means, that if the endpoint descriptor (of a high speed device)
      specifies e.g. bInterval = 7, the urb->interval gets the value:
      
      hid-core.c: interval = 1 << (7-1) = 0x40 = 64
      urb->interval = 1 << (interval -1) = 1 << (63) = integer overflow
      
      Because of this the value of urb->interval is sometimes negative and is
      rejected in core/urb.c:
      line 353:
                      /* too small? */
                      if (urb->interval <= 0)
                              return -EINVAL;
      
      The conclusion is, that the recalculaton of the interval (which is
      necessary for highspeed) should not be made twice, because this is
      simply wrong. ;-)
      
      Re-calculation in usb_fill_int_urb makes more sense, because it is the
      most general approach. So it would make sense to remove it from
      hid-core.c.
      
      Because in hid-core.c the interval variable is only used for calling
      usb_fill_int_urb, it is no problem to remove the highspeed
      re-calculation in this file.
      Signed-off-by: NChristian Krause <chkr@plauener.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      13b58ee5
    • O
      [PATCH] isp116x-hcd: fix handling of short transfers · e9b765de
      Olav Kongas 提交于
      Increased use of scatter-gather by usb-storage driver after 2.6.13 has
      exposed a buggy codepath in isp116x-hcd, which was probably never
      visited before: bug happened only for those urbs, for which
      URB_SHORT_NOT_OK was set AND short transfer occurred.
      
      The fix attached was tested in 2 ways: (a) it fixed failing
      initialization of a flash drive with an embedded hub; (b) the fix was
      tested with 'usbtest' against a modified g_zero driver (on top of
      net2280), which generated short bulk IN transfers of various lengths
      including multiples and non-multiples of max_packet_length.
      Signed-off-by: NOlav Kongas <ok@artecdesign.ee>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e9b765de
    • C
      [SCSI] mptsas: fix phy identifiers · 16192896
      Christoph Hellwig 提交于
      This patch from Eric fixes handling of the phy identifiers in mptsas.
      I've split it up from his bigger patch as it should go into 2.6.14
      still.
      Signed-off-by: NEric Moore <Eric.Moore@lsil.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      16192896