提交 b98f8803 编写于 作者: G George Kibardin 提交者: Bartlomiej Zolnierkiewicz

ide: fix cable detection for SATA bridges

Signed-off-by: NGeorge Kibardin <george-kibardin@yandex.ru>
Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册