Re: eepro100: wait_for_cmd_done timeout (2.4.19-pre2/8)

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Tue May 07 2002 - 09:53:16 EST


On Tue, 7 May 2002, Paul Jakma wrote:

> hi,
>
> i have a problem with a Dell poweredge with onboard Intel eepro NICs.
>
> The network card basically doesnt work. The system logs are filled
> with:
[SNIPPED...]

> looking at the code concerned:
>
> static inline void wait_for_cmd_done(long cmd_ioaddr)
> {
> int wait = 1000;
> do udelay(1) ;
> while(inb(cmd_ioaddr) && --wait >= 0);
> #ifndef final_version
> if (wait < 0)
> printk(KERN_ALERT "eepro100: wait_for_cmd_done timeout!\n");
> #endif
> }
>

This procedure is called from numerous places in the code.
In line 1069 of eepro100.c, comment out the call to wait_for_cmd_done().
See if this fixes it. If it does, look in the header and send a patch
to the current maintainer. FYI, I use this driver with no problems
on 2.4.18 -- but I have commented-out that call because there, in fact,
might be no command to wait for and I got spurious messages.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).

                 Windows-2000/Professional isn't.

-
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/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:29 EST