Commit b98f8803 authored by George Kibardin's avatar George Kibardin Committed by Bartlomiej Zolnierkiewicz

ide: fix cable detection for SATA bridges

Signed-off-by: default avatarGeorge Kibardin <george-kibardin@yandex.ru>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 90494893
......@@ -612,12 +612,12 @@ u8 eighty_ninty_three (ide_drive_t *drive)
printk(KERN_DEBUG "%s: skipping word 93 validity check\n",
drive->name);
if (ide_dev_is_sata(id) && !ivb)
return 1;
if (hwif->cbl != ATA_CBL_PATA80 && !ivb)
goto no_80w;
if (ide_dev_is_sata(id))
return 1;
/*
* FIXME:
* - force bit13 (80c cable present) check also for !ivb devices
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment