Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2002 12:03:08 -0700 (MST)
From:      "M. Warner Losh" <imp@village.org>
To:        b@etek.chalmers.se
Cc:        benno@jeamland.net, mobile@FreeBSD.ORG
Subject:   Re: orinoco/pccard/dell breakage
Message-ID:  <20020207.120308.82101074.imp@village.org>
In-Reply-To: <Pine.OSF.4.40.0202070856090.5843-100000@downy.etek.chalmers.se>
References:  <1013041630.355.5.camel@ratchet.jeamland.net> <Pine.OSF.4.40.0202070856090.5843-100000@downy.etek.chalmers.se>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <Pine.OSF.4.40.0202070856090.5843-100000@downy.etek.chalmers.se>
            Magnus B{ckstr|m <b@etek.chalmers.se> writes:
: On 7 Feb 2002, Benno Rice wrote:
: > You need to add
: >
: > options	PCI_ENABLE_IO_MODES
: >
: > to your kernel config.
: >
: > Warner would be able to explain why better, but from memory it's because
: > the pcic is on a subordinate pci bus which is requesting an IO range
: > that is odd for some reason.
: 
: Thanks for the hint!
: I tried this, it still refuses to work.  I went ahead and also enabled
: PCI_ALLOW_UNSUPPORTED_IO_RANGE, which reduced the number of pcib complaints
: from two to one:
: pcib2: device pccard0 requested unsupported memory range 0xd0000-0xd0000 (decoding 0xf4000000-0xfbffffff, 0xfff00000-0xfffff)
: (The one asking for 0xd4000-0xd4000 is now gone)
: 
: Naively, isn't it slightly silly for a device to ask for a memory range
: whose end coincides with its beginning?  Ugh, I'll be doodling around in
: pci_pci.c a bit and see if I can make heads or tails of it.

The problem is very simple.  The code is there to try to catch people
using bogus addresses.  The PCI bridges usually only forward a subset
of the address range.  The code tries to enforce that.  Sadly, the ISA
ranges are magic special fair creatures that also pass through the
bridge and the code doesn't take that into account.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




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