• Jeff Garzik's avatar
    [libata] change master/slave IDENTIFY order · f31f0cc2
    Jeff Garzik authored
    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: default avatarJeff Garzik <jeff@garzik.org>
    f31f0cc2
libata-core.c 156 KB