diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2010-01-18 08:19:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-19 10:41:57 +0100 |
commit | 76937fa765bd65c052b87812e46d5b90094e57b8 (patch) | |
tree | 9e2f17e69ea8ae5026771e8a8e7a95e39d9794ed /drivers/ide/ide-iops.c | |
parent | via82cxxx: vx855 is a single channel controller (diff) | |
download | linux-76937fa765bd65c052b87812e46d5b90094e57b8.tar.xz linux-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.c | 2 |
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) |