1. 03 3月, 2007 4 次提交
    • J
      [libata] pata_cmd64x: fix driver description in comments · fb9f8905
      Jeff Garzik 提交于
      Trivial comment fix, taken out of a larger Alan Cox patch.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      fb9f8905
    • J
      [libata] pata_{legacy,sc1200,sl82c105}: add missing hooks · bf7551c4
      Jeff Garzik 提交于
      Alan Cox noticed several hooks in pata_* drivers were missing, when
      he authored his ->cable_detect hook patches.  This patch extracts
      just those fixes from Alan's patches, adding the necessary hooks
      (usually ->freeze, ->thaw, and ->post_internal_cmd) to the drivers.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      bf7551c4
    • J
      [libata] change master/slave IDENTIFY order · f31f0cc2
      Jeff Garzik 提交于
      2.6.21-rc has horrible problems with libata and PATA cable types (and
      thus speeds). This occurs because Tejun fixed a pile of other bugs and
      we now do cable detect enforcement for drive side detection properly.
      
      Unfortunately we don't do the process around cable detection right. Tejun
      identified the problem and pointed to the right Annex in the spec, this patch
      implements the needed changes.
      
      The basic requirement is that we have to identify the slave before the
      master.
      
      The patch switches the identify order so that we can do the drive side
      detection correctly.
      
      [NOTE: patch and description extracted from a larger work written
      and signed-off-by Alan Cox]
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      f31f0cc2
    • A
      libata-core: Fix simplex handling · 032af1ce
      Alan 提交于
      The initial simplex handling code is fooled if you suspend and resume.
      This also causes problems with some single channel controllers which
      claim to be simplex.
      
      The fix is fairly simple, instead of keeping a flag to remember if we
      gave away the simplex channel we remember the actual owner. As the owner
      is always part of the host_set we don't even need a refcount.
      
      Knowing the owner also means we can reassign simplex DMA channels in
      future hotplug code etc if we need to
      Signed-off-by: NAlan Cox <alan@redhat.com>
      (and a signed-off for the patch I sent before while I remember)
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      032af1ce
  2. 02 3月, 2007 36 次提交