projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9049489
)
ide: fix cable detection for SATA bridges
author
George Kibardin
<george-kibardin@yandex.ru>
Thu, 10 Jan 2008 22:03:42 +0000
(23:03 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Thu, 10 Jan 2008 22:03:42 +0000
(23:03 +0100)
Signed-off-by: George Kibardin <george-kibardin@yandex.ru>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-iops.c
b/drivers/ide/ide-iops.c
index cef405ddaf0e3191a2d0eadd3f63681284d9d31f..bb9693dabe4180b4a1d93031a2115e85f7e22ab2 100644
(file)
--- a/
drivers/ide/ide-iops.c
+++ b/
drivers/ide/ide-iops.c
@@
-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