Browse Source

ide: add SATA cable detection support

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Bartlomiej Zolnierkiewicz 15 năm trước cách đây
mục cha
commit
76937fa765
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/ide/ide-iops.c

+ 1 - 1
drivers/ide/ide-iops.c

@@ -231,7 +231,7 @@ u8 eighty_ninty_three(ide_drive_t *drive)
 	u16 *id = drive->id;
 	u16 *id = drive->id;
 	int ivb = ide_in_drive_list(id, ivb_list);
 	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;
 		return 1;
 
 
 	if (ivb)
 	if (ivb)