From: Mark Lord Date: Wed, 25 Feb 2009 20:17:43 +0000 (-0500) Subject: [libata] sata_mv: Add a new mv_sff_check_status() function to sata_mv. X-Git-Tag: v2.6.30-rc1~669^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d16ab3f633b75aac1cf42b00355cd9aa65033dcc;p=pandora-kernel.git [libata] sata_mv: Add a new mv_sff_check_status() function to sata_mv. This is necessary for use with the upcoming "mv_qc_issue_fis()" patch, but is being added separately here for easier code review. When using command issue via the "mv_qc_issue_fis()" mechanism, the initial ATA_BUSY bit does not show in the ATA status (shadow) register. This can confuse libata! So here we add a hook to fake ATA_BUSY for that situation, until the first time a BUSY, DRQ, or ERR bit is seen. Signed-off-by: Mark Lord Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed