lkml.org 
[lkml]   [2001]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: eepro100: wait_for_cmd_done timeout
Date
> Dionysius Wilson Almeida <Dionysius Wilson Almeida <dwilson@technolunatic.com>> wrote:
> > Jun 20 16:14:07 debianlap kernel: eepro100: wait_for_cmd_done timeout!
> > Jun 20 16:14:38 debianlap last message repeated 5 times
>
> I saw the same message.
>
> The comment before wait_for_cmd_done() function in
> linux/drivers/net/eepro100.c says:
> /* How to wait for the command unit to accept a command.
> Typically this takes 0 ticks. */
>
> And the initial value for the bogus counter, named "wait", is 1000.
> Is it enough for your machine?
>
> I applied attached patch, eepro100.patch. After that, I've never seen
> the message from wait_for_cmd_done(). And, my NIC works fine.
>
> You may want to adjust the initial value for the bogus counter.
> I don't know the appropriate value for this bogus counter.

int wait is set to 20000 in my eepro100.c (stock 2.2.19), and I still get these
errors. Think the patch with the udelay() will still work?

John




--
John Madden
UNIX Systems Engineer
Ivy Tech State College
jmadden@ivy.tec.in.us
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.081 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site