1. 23 Jan, 2007 5 commits
  2. 22 Jan, 2007 23 commits
  3. 21 Jan, 2007 9 commits
  4. 20 Jan, 2007 3 commits
    • Olof Johansson's avatar
      sata_mv HighPoint 2310 support (88SX7042) · e93f09dc
      Olof Johansson authored
      With the following patch, my HighPoint 2310 with a Marvell 88SX7042 on
      it seems to work OK.
      
      The controller only has 4 ports, with MV_FLAG_DUAL_HC it seems to init 8
      ports and fails miserably at probe time. There are no other devices mapped
      to that chip, maybe it was just incorrectly specified in the first place?
      Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      e93f09dc
    • Tejun Heo's avatar
      libata: fix handling of port actions in per-dev action mask · 79a55b72
      Tejun Heo authored
      libata EH ignores port-wide actions in per-dev action mask.  However,
      device resume requests EH_SOFTRESET using per-dev action mask.  Under
      certain circumstances, this results in not resetting frozen port after
      resuming which causes failure of all commands.
      
      This patch allows port-wide actions to be requested in per-dev action
      mask.  Before EH recovery starts, port-wide actions will be collected.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      79a55b72
    • Tejun Heo's avatar
      libata: initialize qc->dma_dir to DMA_NONE · 501e0c50
      Tejun Heo authored
      libata didn't used to init qc->dma_dir to any specific value on qc
      initialization and command translation path didn't set qc->dma_dir if
      the command doesn't need data transfer.  This made non-data commands
      to have random qc->dma_dir.
      
      This usually doesn't cause problem because LLDs usually check
      qc->protocol first and look at qc->dma_dir iff the command needs data
      transfer but this doesn't hold for all LLDs.
      
      It might be worthwhile to rename qc->dma_dir to qc->data_dir as we use
      the field to tag data direction for both PIO and DMA protocols.
      
      This problem has been spotted by James Bottomley.
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Cc: James Bottomley <James.Bottomley@SteelEye.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      501e0c50