mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 14:44:10 +08:00
ide: add SATA cable detection support
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
42036c85a6
commit
76937fa765
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user