ide: add SATA cable detection support
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Jan 2010 07:19:44 +0000 (07:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2010 09:41:57 +0000 (01:41 -0800)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-iops.c

index 222c1ef..376f2dc 100644 (file)
@@ -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)