1. 03 10月, 2006 1 次提交
  2. 01 10月, 2006 10 次提交
  3. 30 9月, 2006 2 次提交
  4. 28 9月, 2006 1 次提交
    • P
      USB: UB: Let cdrecord to see a device with media absent · d1ad4ea3
      Pete Zaitcev 提交于
      The command "cdrecord dev=/dev/uba x.iso" prints nasty garbage if a blank
      is not in the drive. This happens because drivers have to set req->errors
      separately from just returning zero uptodate with end_that_request_first,
      end_that_request_last. These functions only set error in BIO, but sg_io()
      ignores it.
      
      Since we're on it, let cdrecord access a device when ->changed is set.
      It's useful if someone wants to know device capabilities without burning
      anything.
      Signed-Off-By: NPete Zaitcev <zaitcev@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d1ad4ea3
  5. 27 9月, 2006 1 次提交
  6. 21 9月, 2006 1 次提交
  7. 13 9月, 2006 1 次提交
  8. 02 9月, 2006 1 次提交
  9. 07 8月, 2006 1 次提交
    • M
      [SCSI] Improve inquiry printing · 4ff36718
      Matthew Wilcox 提交于
       - Replace scsi_device_types array API with scsi_device_type function API.
         Gets rid of a lot of common code, as well as being easier to use.
       - Add the new device types in SPC4 r05a, and rename some of the older ones.
       - Reformat the printing of inquiry data; now fits on one line and
         includes PQ.
      
      I think I've addressed all the feedback from the previous versions.  My
      current test box prints:
      
      scsi 2:0:1:0: Direct access     HP 18.2G ATLAS10K3_18_SCA HP05 PQ: 0 ANSI: 2
      Signed-off-by: NMatthew Wilcox <matthew@wil.cx>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      4ff36718
  10. 04 8月, 2006 1 次提交
  11. 01 8月, 2006 3 次提交
  12. 25 7月, 2006 1 次提交
  13. 15 7月, 2006 2 次提交
  14. 11 7月, 2006 1 次提交
  15. 04 7月, 2006 1 次提交
    • I
      [PATCH] lockdep: floppy.c irq release fix · 3e541a4a
      Ingo Molnar 提交于
      The lock validator triggered a number of bugs in the floppy driver, all
      related to the floppy driver allocating and freeing irq and dma resources from
      interrupt context.  The initial solution was to use schedule_work() to push
      this into process context, but this caused further problems: for example the
      current floppy driver in -mm2 is totally broken and all floppy commands time
      out with an error.  (as reported by Barry K.  Nathan)
      
      This patch tries another solution: simply get rid of all that dynamic IRQ and
      DMA allocation/freeing.  I doubt it made much sense back in the heydays of
      floppies (if two devices raced for DMA or IRQ resources then we didnt handle
      those cases too gracefully anyway), and today it makes near zero sense.
      
      So the new code does the simplest and most straightforward thing: allocate IRQ
      and DMA resources at module init time, and free them at module removal time.
      Dont try to release while the driver is operational.  This, besides making the
      floppy driver functional again has an added bonus, floppy IRQ stats are
      finally persistent and visible in /proc/interrupts:
      
        6: 63 XT-PIC-level floppy
      
      Besides normal floppy IO i have also tested IO error handling, motor-off
      timeouts, etc.  - and everything seems to be working fine.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3e541a4a
  16. 03 7月, 2006 2 次提交
  17. 02 7月, 2006 1 次提交
  18. 01 7月, 2006 1 次提交
  19. 30 6月, 2006 1 次提交
  20. 29 6月, 2006 1 次提交
  21. 28 6月, 2006 1 次提交
  22. 27 6月, 2006 5 次提交