1. 09 2月, 2006 1 次提交
  2. 29 1月, 2006 1 次提交
    • R
      Various libata documentation updates. · c893a3ae
      Randy Dunlap 提交于
      This is a merger of libata docs + cleanups from
      Martin Waitz <tali@admingilde.org> and me.
      
      From: Randy Dunlap <rdunlap@xenotime.net>
      From: Martin Waitz <tali@admingilde.org>
      
      Fix libata kernel-doc comments to match code.
      Add some function parameters to kernel-doc.
      Fix some typos/spellos.
      Put comments in <= 80 columns.
      Make one DPRINTK string unique.
      Fix sparse cast warnings.
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      c893a3ae
  3. 28 1月, 2006 2 次提交
  4. 27 1月, 2006 10 次提交
  5. 18 1月, 2006 4 次提交
  6. 17 1月, 2006 2 次提交
  7. 15 1月, 2006 1 次提交
  8. 07 1月, 2006 1 次提交
    • J
      [PATCH] Suspend support for libata · 9b847548
      Jens Axboe 提交于
      This patch adds suspend patch to libata, and ata_piix in particular. For
      most low level drivers, they should just need to add the 4 hooks to
      work. As I can only test ata_piix, I didn't enable it for more
      though.
      
      Suspend support is the single most important feature on a notebook, and
      most new notebooks have sata drives. It's quite embarrassing that we
      _still_ do not support this. Right now, it's perfectly possible to
      suspend the drive in mid-transfer.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9b847548
  9. 06 1月, 2006 1 次提交
  10. 13 12月, 2005 5 次提交
  11. 06 12月, 2005 5 次提交
  12. 01 12月, 2005 1 次提交
  13. 20 11月, 2005 1 次提交
  14. 17 11月, 2005 1 次提交
  15. 16 11月, 2005 1 次提交
    • 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
  16. 15 11月, 2005 3 次提交
    • 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