aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-05-21 18:33:47 +0200
committerJeff Garzik <jeff@garzik.org>2007-07-09 12:17:32 -0400
commita16abc0b5ff3ef655e40cb5e6671d57f5dde513d (patch)
tree5fe5bdb63280349649a30c7cbb1de41ef47027f4 /drivers/ata/ahci.c
parent1ca972c2028edd6cd6a6ca40bd1f58b91fb4ea58 (diff)
downloadkernel_samsung_espresso10-a16abc0b5ff3ef655e40cb5e6671d57f5dde513d.zip
kernel_samsung_espresso10-a16abc0b5ff3ef655e40cb5e6671d57f5dde513d.tar.gz
kernel_samsung_espresso10-a16abc0b5ff3ef655e40cb5e6671d57f5dde513d.tar.bz2
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 <htejun@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions