[eepro100] Re: eepro cmd_wait

Andrey Savochkin saw@saw.sw.com.sg
Thu, 18 Jan 2001 20:17:31 +0800


Hi,

On Thu, Jan 18, 2001 at 01:10:11PM +0100, Simon Huggins wrote:
> We have a server running 2.2.18 + RAID which has an eepro100 in it.
> It's connected to a Dlink DFE 816 100 16port 100baseTX hub.
> 
> When the machine boots we get a whole series of timeout errors.
> 
> Jan 18 11:58:09 miguet kernel: eepro100: cmd_wait for(0x70) timedout with(0x70)!
> Jan 18 11:58:09 miguet kernel: eepro100: cmd_wait for(0x10) timedout with(0x10)!
> Jan 18 11:58:09 miguet kernel: eepro100: cmd_wait for(0xffffff90) timedout with(0xffffff90)!
> Jan 18 11:58:38 miguet last message repeated 38 times
> Jan 18 11:58:50 miguet last message repeated 12 times

Could you try to add
	inl(ioaddr + SCBPointer);
	udelay(10);
before
	outb(RxAddrLoad, ioaddr + SCBCmd);
in speedo_resume()?

These two line are a workaround for the RxAddrLoad timing bug, developed by
Donald Becker.  wait_for_cmd_done timeouts may be related to this bug, too.

Best regards
					Andrey V.
					Savochkin