Subject: Re: memory mapped device problem
To: Vikram <vikram@controlnet.co.in>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 06/20/2000 13:00:15
On Tue, Jun 20, 2000 at 12:37:21PM +0530, Vikram wrote:
> Hello NetBSD gurus!!,
>     I have a memory mapped network card. And I am map the memory and then
> access the memory using
>  bus_space_write_4(sc->pm_memt, sc->pm_sh,..) the pm_memt and pm_sh are
> returned by pci_mapreg_map() which I uae for mapping the memory.
> 
>     Is every thing done properly? I hope so.
> 
>     Now the problem is after some while the whenever I try to read the
> registers they all give content as 0xffffffff . May I know the reason? Pls

Does this work properly at the beggining ? If so the check that the pm_memt
and pm_sh didn't change. Or it could just be that the board is wedged.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--