From: Tejun Heo Date: Mon, 21 May 2007 16:33:47 +0000 (+0200) Subject: libata: replace ap->cbl tests with ATA_FLAG_SATA tests X-Git-Tag: v2.6.23-rc1~1152^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a16abc0b5ff3ef655e40cb5e6671d57f5dde513d;p=pandora-kernel.git libata: replace ap->cbl tests with ATA_FLAG_SATA tests ap->cbl == ATA_CBL_SATA indicates SATA cable while ap->flags & ATA_FLAG_SATA indicates SATA host port. Till now they always gave the same result but SATA/PATA bridge handling will change that. Switch to ATA_FLAG_SATA test if we're testing for host port type. Signed-off-by: Tejun Heo Cc: Alan Cox Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed