1. 28 Oct, 2008 6 commits
    • Tejun Heo's avatar
      libata: clear saved xfer_mode and ncq_enabled on device detach · 90484ebf
      Tejun Heo authored
      libata EH saves xfer_mode and ncq_enabled at start to later set
      DUBIOUS_XFER flag if it has changed.  These values need to be cleared
      on device detach such that hot device swap doesn't accidentally miss
      DUBIOUS_XFER.
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      90484ebf
    • Tejun Heo's avatar
      sata_sil24: configure max read request size to 4k · e8b3b5e9
      Tejun Heo authored
      Due to request posting limitations, bandwidth of sil3132 is limited to
      around 120MB/s with the minimum pci-e payload size (128bytes) which is
      used by most consumer systems.  However, write throughput can be
      slightly (~3%) increased by increasing the max read requeset size.
      Configure it to 4k which is the maximum supported.  This optimization
      is also done by SIMG's windows driver.
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      e8b3b5e9
    • Randy Dunlap's avatar
      libata: add missing kernel-doc · 3cd8ddbd
      Randy Dunlap authored
      Fix libata missing kernel-doc:
      
      Warning(lin2628-rc2//drivers/ata/libata-core.c:4562): No description
      found for parameter 'tag'
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      3cd8ddbd
    • Tejun Heo's avatar
      libata: fix device iteration bugs · 4a9c7b33
      Tejun Heo authored
      There were several places where only enabled devices should be
      iterated over but device enabledness wasn't checked.
      
      * IDENTIFY data 40 wire check in cable_is_40wire()
      * xfer_mode/ncq_enabled saving in ata_scsi_error()
      * DUBIOUS_XFER handling in ata_set_mode()
      
      While at it, reformat comments in cable_is_40wire().
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      4a9c7b33
    • Mark Nelson's avatar
      ahci: Add support for Promise PDC42819 · c77a036b
      Mark Nelson authored
      Add an appropriate entry for the Promise PDC42819 controller. It has an
      AHCI mode and so far works correctly with board_ahci.
      
      This chip is found on Promise's FastTrak TX2650 (2 port) and TX4650 (4 port)
      software-based RAID cards (for which there is a binary driver, t3sas) and
      can be found on some motherboards, for example the MSI K9A2 Platinum,
      which calls the chip a Promise T3 controller.
      
      Although this controller also supports SAS devices, its default bootup mode
      is AHCI and the binary driver has to do some magic to get the chip into the
      appropriate mode to drive SAS disks.
      
      Seeing as no documentation is provided by Promise, adding this entry to the
      ahci driver allows the controller to be useful to people as a SATA
      controller (with no ill effects on the system if a SAS disk is connected -
      probing of the port just times out with "link online but device
      misclassified"), without having to resort to using the binary driver. Users
      who require SAS or the proprietary software raid can get this functionality
      using the binary driver.
      Signed-off-by: default avatarMark Nelson <mdnelson8@gmail.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      c77a036b
    • Alan Cox's avatar
      ata: Switch all my stuff to a common address · ab771630
      Alan Cox authored
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
      ab771630
  2. 27 Oct, 2008 15 commits
  3. 26 Oct, 2008 19 commits