diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2010-01-18 07:19:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-19 01:41:57 -0800 |
commit | 76937fa765bd65c052b87812e46d5b90094e57b8 (patch) | |
tree | 9e2f17e69ea8ae5026771e8a8e7a95e39d9794ed /drivers | |
parent | 42036c85a68c82389f011eceab594c64956d0c2d (diff) | |
download | op-kernel-dev-76937fa765bd65c052b87812e46d5b90094e57b8.zip op-kernel-dev-76937fa765bd65c052b87812e46d5b90094e57b8.tar.gz |
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')
-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 222c1ef..376f2dc 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) |