aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-iops.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2010-01-18 07:19:44 +0000
committerDavid S. Miller <davem@davemloft.net>2010-01-19 01:41:57 -0800
commit76937fa765bd65c052b87812e46d5b90094e57b8 (patch)
tree9e2f17e69ea8ae5026771e8a8e7a95e39d9794ed /drivers/ide/ide-iops.c
parentvia82cxxx: vx855 is a single channel controller (diff)
downloadlinux-dev-76937fa765bd65c052b87812e46d5b90094e57b8.tar.xz
linux-dev-76937fa765bd65c052b87812e46d5b90094e57b8.zip
ide: add SATA cable detection support
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r--drivers/ide/ide-iops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index 222c1ef65fb9..376f2dc410c5 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -231,7 +231,7 @@ u8 eighty_ninty_three(ide_drive_t *drive)
u16 *id = drive->id;
int ivb = ide_in_drive_list(id, ivb_list);
- if (hwif->cbl == ATA_CBL_PATA40_SHORT)
+ if (hwif->cbl == ATA_CBL_SATA || hwif->cbl == ATA_CBL_PATA40_SHORT)
return 1;
if (ivb)