]> git.baikalelectronics.ru Git - kernel.git/commit
[libata] change master/slave IDENTIFY order
authorJeff Garzik <jeff@garzik.org>
Fri, 2 Mar 2007 22:47:28 +0000 (17:47 -0500)
committerJeff Garzik <jeff@garzik.org>
Fri, 2 Mar 2007 22:47:28 +0000 (17:47 -0500)
commit23b919839a5de43116d6bee7b8dba1ed87bd7c74
tree0b35e182a2e094d4cf4ad786d27db79c04ec3267
parentefd5a7cc23c0900fa08727be0f8464dcd1f245cf
[libata] change master/slave IDENTIFY order

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: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c