Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 1997 22:44:17 +0200
From:      Stefan Esser <se@FreeBSD.ORG>
To:        Chris Csanady <ccsanady@friley01.res.iastate.edu>
Cc:        hackers@FreeBSD.ORG, Stefan Esser <se@FreeBSD.ORG>
Subject:   Re: pci_map_mem failed...
Message-ID:  <19970623224417.61189@mi.uni-koeln.de>
In-Reply-To: <199706201726.MAA15908@friley01.res.iastate.edu>; from Chris Csanady on Fri, Jun 20, 1997 at 12:26:11PM -0500
References:  <199706201726.MAA15908@friley01.res.iastate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 20, Chris Csanady <ccsanady@friley01.res.iastate.edu> wrote:
> I am working on an ethernet driver, but when I try to
> map the cards registers, I get the following..
> 
> pci_map_mem failed: device's memrange 0x6100-0x61ff is incompatible with its 
> bridge's memrange 0x2000000-0xffffffff
>
> There seems to be some comment in German in pci.c about
> this case, so I was wondering if something is broken..

Well, don't worry about that comment in German. I put it in,
when I was not sure about a reported problem being real, but
that comment is of no good use to anybody anymore :)

> If not, what am I doing wrong here?

The address range seems to be invalid for a memory mapped 
region, since it obviously conflicts with system RAM. As 
somebody else already mentioned, this might actually be a
port map, but there should have been a warning that you 
are trying to map a "bad memory type".

Please send me a *verbose* boot message log and your attach
code, at least the part that contains the call to pci_map_mem(). 
This will allow me to understand what's going on ...

Regards, STefan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970623224417.61189>