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/07/2001 15:43:25
On Mon Aug 06 2001 at 18:37:45 +0900, Masanori Kanaoka wrote:
> Hi,
>
> From: Antti Kantee <pooka@iki.fi>
> Subject: Re: ex0: device timeout
> Date : Fri, 03 Aug 2001 15:27:42 +0300
>
> $ > How about reverting sys/dev/ic/elinkxl.c from 1.34.2.4 to 1.34.2.3 ?
> $ > 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 read sys/dev/pci/if_ex_pci.c and sys/dev/cardbus/if_ex_cardbus.c
> I found intr_ack code difference between cardbus and pci.
>
> CardBus
> - map by Cardbus_mapreg_map
> - access by bus_space_write_4
> PCI
> - does not map
> - access by pci_conf_write
>
> I make a next patch that map by pci_mapreg_map,
> and access by bus_space_write_4.
>
> How about next patch?
> Sorry! I don't test this patch, because I don't have 3c556,3c556B.
This patch fixed the problems, and the builtin 3c556 on my laptop works
like a charm now!
Thanks!
--
Antti Kantee <pooka@iki.fi> v Of course he runs NetBSD
http://www.iki.fi/pooka/ i http://www.NetBSD.org/