From: Bartlomiej Zolnierkiewicz Date: Sat, 6 Jan 2007 00:36:21 +0000 (-0800) Subject: [PATCH] via82cxxx: fix cable detection X-Git-Tag: v2.6.20-rc4~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd36beec0b83d28dceb85696a23542bf1b97cc8c;p=pandora-kernel.git [PATCH] via82cxxx: fix cable detection This patch fixes 2.6.15 regression, is straightforward and tested. Cable detection got broken probably while converting the driver to support multiple controllers. Cable detection is done by examining how BIOS configured the attached devices. The current code is broken in that it examines the status *after* modifying Clk66 configuration ending up detecting 40c cables as 80c. This patch fixes it. Signed-off-by: Tejun Heo Signed-off-by: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed