1. 18 6月, 2007 1 次提交
    • R
      IB/mlx4: Handle new FW requirement for send request prefetching · 0e6e7416
      Roland Dreier 提交于
      New ConnectX firmware introduces FW command interface revision 2,
      which requires that for each QP, a chunk of send queue entries (the
      "headroom") is kept marked as invalid, so that the HCA doesn't get
      confused if it prefetches entries that haven't been posted yet.  Add
      code to the driver to do this, and also update the user ABI so that
      userspace can request that the prefetcher be turned off for userspace
      QPs (we just leave the prefetcher on for all kernel QPs).
      
      Unfortunately, marking send queue entries this way is confuses older
      firmware, so we change the driver to allow only FW command interface
      revisions 2.  This means that users will have to update their firmware
      to work with the new driver, but the firmware is changing quickly and
      the old firmware has lots of other bugs anyway, so this shouldn't be too
      big a deal.
      
      Based on a patch from Jack Morgenstein <jackm@dev.mellanox.co.il>.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      0e6e7416
  2. 13 6月, 2007 2 次提交
  3. 11 6月, 2007 2 次提交
    • T
      libata: limit post SRST nsect/lbal wait to ~100ms · e141d999
      Tejun Heo 提交于
      After SRST, libata used to wait for nsect/lbal to be set to 1/1 for
      the slave device.  However, some ATAPI devices don't set nsect/lbal
      after SRST and the wait itself isn't too useful as we're gonna wait
      for !BSY right after that anyway.
      
      Before reset-seq update, nsect/lbal wait failure used to be ignored
      and caused 30sec delay during detection.  After reset-seq, all
      timeouts are considered error conditions making libata fail to detect
      such ATAPI devices.
      
      This patch limits nsect/lbal wait to around 100ms.  This should give
      acceptable behavior to such ATAPI devices while not disturbing the
      heavily used code path too much.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      e141d999
    • T
      libata: force PIO on IOMEGA ZIP 250 ATAPI · 5acd50f6
      Tejun Heo 提交于
      IOMEGA ZIP 250 ATAPI claims MWDMA0 support but fails SETXFERMODE if
      asked to configure itself to MWDMA0.  Force PIO.
      
      This fixes bugzilla bug#8497.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Cc: Calvin Walton <calvin.walton@gmail.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      5acd50f6
  4. 10 6月, 2007 13 次提交
  5. 09 6月, 2007 18 次提交
  6. 08 6月, 2007 4 次提交