Subject: Re: ex0: device timeout
To: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
From: Antti Kantee <pooka@iki.fi>
List: tech-net
Date: 08/03/2001 15:27:42
On Tue Jul 31 2001 at 08:51:33 +0900, Masanori Kanaoka wrote:
> $ This is strange because I remember to use ex0 for this kind of card on
> $ another laptop (2 months older) without any problem. But perhaps this other
> $ one has not exactly the same 3com chipset (revision changed ?)
> 
> $ does someone have a clue or had the same troubles ?
> 
> The latest change of ex driver on netbsd-1-5 branch is below.
> 
>     revision 1.34.2.4
>     date: 2001/05/15 21:34:06;  author: he;  state: Exp;  lines: +8 -3
>     Pull up revision 1.49 (requested by fvdl):
>        Wait longer after a card reset, avoids reading bad values from
>        the eeprom.
> 
> <URL:http://cvsweb.netbsd.org/cgi-bin/cvsweb.cgi/syssrc/sys/dev/ic/elinkxl.c.diff?cvsroot=cvs.netbsd.org&r1=1.34.2.3&r2=1.34.2.4&only_with_tag=netbsd-1-5&f=u>
> 
> How about reverting sys/dev/ic/elinkxl.c from 1.34.2.4 to 1.34.2.3 ?
> 
> Or
> 
> How about reverting delay value from 100000 to 400 
> in ex_reset()@sys/dev/ic/elinkxl.c ?

No, that did help. On the contrary, it caused problems. I managed to get
the kernel frozen when removing another 3com card because of interrupts
happening too quickly (at least that's my theory). 

-- 
Antti Kantee <pooka@iki.fi>          v          Of course he runs NetBSD
http://www.iki.fi/pooka/             i            http://www.NetBSD.org/