1. 14 12月, 2005 4 次提交
  2. 13 12月, 2005 3 次提交
  3. 04 12月, 2005 1 次提交
  4. 03 12月, 2005 3 次提交
  5. 02 12月, 2005 4 次提交
  6. 30 11月, 2005 1 次提交
  7. 29 11月, 2005 1 次提交
    • V
      [SCSI] aic7xxx: reset handler selects a wrong command · dce20067
      Vasily Averin 提交于
      To transport scsi reset command to device aic7xxx reset handler looks
      at the driver's pending_list and searches any proper command. However
      the search condition has been inverted: ahc_match_scb() returns TRUE
      if a matched command is found. As a result the reset on required
      devices did not turn out well, a correctly working neighbour device
      may be surprised by the reset. aic7xxx reset handler reports about the
      success, but really the original situation is not corrected yet.
      Signed-off-by: NVasily Averin <vvs@sw.ru>
      
      Naturally, there's a corresponding problem in the aic79xx driver, so
      I've also added the same fix for that.
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      dce20067
  8. 28 11月, 2005 1 次提交
  9. 23 11月, 2005 1 次提交
  10. 19 11月, 2005 6 次提交
  11. 17 11月, 2005 4 次提交
  12. 16 11月, 2005 4 次提交
    • J
      [libata ahci] tone down ATAPI errors · c2cd76ff
      Jeff Garzik 提交于
      ATA devices don't generate many errors, so the preferred method is to
      printk() when they occur.
      
      ATAPI devices generate tons of exceptions during the normal course
      of operation, so this change skips logging the most common class of
      errors.
      c2cd76ff
    • A
      [PATCH] libata: honor the transfer cycle time speficied by the EIDE device · 75b1f2f8
      Albert Lee 提交于
        The following code segment is not functional because the transfer cycle time speficied by
        the EIDE device is later overwritten by ata_timing_quantize():
      
      	/*
      	 * If the drive is an EIDE drive, it can tell us it needs extended
      	 * PIO/MW_DMA cycle timing.
      	 */
      	if (adev->id[ATA_ID_FIELD_VALID] & 2) {	/* EIDE drive */
      		memset(&p, 0, sizeof(p));
      		(snip)
      		ata_timing_merge(&p, t, t, ATA_TIMING_CYCLE | ATA_TIMING_CYC8B);
                     <== uninitialized "t" is used here
      	}
      
      	/*
      	 * Convert the timing to bus clock counts.
      	 */
      	ata_timing_quantize(s, t, T, UT);  <== t is overwritten by quantized s
      
        The patch has been submitted for ide-timing.h before:
        http://marc.theaimsgroup.com/?l=linux-ide&m=110820013425454&w=2
        Resubmitted for libata.
      
      Changes:
        - Minor fix to honor the following transfer cycle time speficied by the device
          - id[65]: Minimum Multiword DMA transfer cycle time per word
          - id[67]: Minimum PIO transfer cycle time without flow control
          - id[68]: Minimum PIO transfer cycle time with IORDY
      Signed-off-by: NAlbert Lee <albertcc@tw.ibm.com>
      
      =======
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      75b1f2f8
    • T
      [PATCH] sil24: add constants · d10cb35a
      Tejun Heo 提交于
      Adds constants for ATAPI support to sata_sil24.  This patch is
      originally from Jeff Garzik <jgarzik@pobox.com>.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      d10cb35a
    • J
      [libata ahci] command completion fixes, improved debug msgs · 9f68a248
      Jeff Garzik 提交于
      - Fix a regression in command completion, which prevented
        the restart of the DMA engine after the device throws
        an error.
      - Pack more hardware info into the port-reset error message.
      - Promote "welcome to our timeout" message from debug msg
        to normal printk.
      9f68a248
  13. 15 11月, 2005 4 次提交
    • J
      [libata] REQUEST SENSE handling fixes · c6e6e666
      Jeff Garzik 提交于
      - Move ATAPI check-condition handling out of the timeout handler
      - Use multi-qc-issue feature to issue REQUEST SENSE ATAPI PACKET
        command upon receiving an ATAPI check-condition.
      
      This cleans things up a lot, and eliminates a nasty recursion bug.
      c6e6e666
    • J
      [libata] minor fixes, new helpers · 2c13b7ce
      Jeff Garzik 提交于
      - in ata_dev_identify(), don't assume that all devices are either
        ATA or ATAPI.  In the future, this code will see port multipliers
        and other devices.
      - make a debugging printk less verbose
      - add new helper ata_qc_reinit()
      - add new helper BPRINTK() and port flag ATA_FLAG_DEBUGMSG, for
        fine-grained debugging use.
      2c13b7ce
    • J
      [libata] fix bugs in ATAPI padding DMA mapping code · e1410f2d
      Jeff Garzik 提交于
      The ATAPI pad-to-next-32bit-boundary code modifies the scatterlist's
      length variable, sometimes to zero.  x86-64 platform would oops if a
      zero-length scatterlist entry was asked to be mapped.  Work around this
      by ensuring that we never DMA-map a zero length buffer or SG entry.
      e1410f2d
    • J
      [libata ahci] error handling fixes · ad36d1a5
      Jeff Garzik 提交于
      Needed to get ATAPI working.
      
      - dump hardware error bits, if hardware signals an error
      - only reset hardware during timeout if a command was active
      - call ata_qc_complete() with a fine-grained error mask.
        Needed so that atapi_qc_complete() can distinguish between
        device errors and other errors.
      ad36d1a5
  14. 14 11月, 2005 3 次提交