lkml.org 
[lkml]   [2004]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] proper bios handoff in ehci-hcd
As Anders Johansson pointed out to me, the original patch is necessary - 
reversing it makes the loop

do {
msleep(10);
msec -= 10;
pci_read_config_dword
(to_pci_dev(ehci->hcd.self.controller), where, &cap);
} while ((cap & (1 << 16)) && msec);

only execute once and makes the if block inaccessible. Thanks for pointing
that out...guess I was overly excited when it worked again and didn't think
much into it.

I'm confused as to how bypassing all that via my (bad) patch allows it to
work though. I'd like to know more about this bit of code, if anyone have
more general info on it, so I can keep trying to help find the culprit.

-Will



[unhandled content-type:application/x-pkcs7-signature]
\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.092 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site