]> git.itanic.dy.fi Git - linux-stable/commit
ide: fix drive side 80c cable check
authorTejun Heo <htejun@gmail.com>
Mon, 5 Feb 2007 12:47:13 +0000 (21:47 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:18 +0000 (10:50 -0800)
commit027fc18bba23014c8db23ad7f066ca8eaa9aa1d1
tree47739387ff38e3cbff55286b04d3d855431f03e6
parentdbd60d51abaf4c31f4c4b5e521745af301535447
ide: fix drive side 80c cable check

eighty_ninty_three() had word 93 validitity check but not the 80c bit
test itself (bit 12).  This increases the chance of incorrect wire
detection especially because host side cable detection is often
unreliable and we sometimes soley depend on drive side cable
detection.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Alan <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ide/ide-iops.c