From: Richard Henderson <rth@twiddle.net>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
axp-list@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: PCI-PCI bridges mess in 2.4.x
Date: Wed, 8 Nov 2000 09:20:46 -0800 [thread overview]
Message-ID: <20001108092046.A27324@twiddle.net> (raw)
In-Reply-To: <3A0977A7.53641C52@mandrakesoft.com>
On Wed, Nov 08, 2000 at 10:56:23AM -0500, Jeff Garzik wrote:
> Setting bit 1 in dev->resource[x].start, below, seems incorrect. Should
> you be programming the PCI BAR directly, instead?
No, that's the reason this is a quirk. The hardware is already
only responding to one and only one address. The old code did
exactly the same thing, only not inside the quirk framework,
which made it kinda harder to figure out what was going on.
> I wonder about this code:
>
> > + /* ??? Reserve some resources for CardBus */
> > + if (dev->class >> 8 == PCI_CLASS_BRIDGE_CARDBUS) {
> > + io_reserved += 8*1024;
> > + mem_reserved += 32*1024*1024;
> > + continue;
> > + }
Got a better suggestion? It does seem completely reasonable to
reserve some address space for a CardBus bridge if we find one.
r~
next prev parent reply other threads:[~2000-11-08 17:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20001101153420.A2823@jurassic.park.msu.ru>
[not found] ` <20001101093319.A18144@twiddle.net>
[not found] ` <20001103111647.A8079@jurassic.park.msu.ru>
[not found] ` <20001103011640.A20494@twiddle.net>
2000-11-06 16:29 ` PCI-PCI bridges mess in 2.4.x Ivan Kokshaysky
2000-11-07 1:03 ` Michal Jaegermann
2000-11-07 13:12 ` Ivan Kokshaysky
2000-11-08 1:32 ` Michal Jaegermann
2000-11-08 9:39 ` Richard Henderson
2000-11-08 11:25 ` Ivan Kokshaysky
2000-11-08 17:37 ` Richard Henderson
2000-11-08 22:03 ` Ivan Kokshaysky
2000-11-08 23:48 ` Richard Henderson
2000-11-09 0:44 ` Michal Jaegermann
2000-11-09 14:39 ` Ivan Kokshaysky
[not found] ` <Pine.LNX.4.10.10011092123320.1438-100000@linux.local>
2000-11-09 23:17 ` Ivan Kokshaysky
[not found] ` <Pine.LNX.4.10.10011101929190.1448-100000@linux.local>
2000-11-10 21:29 ` Ivan Kokshaysky
[not found] ` <3A09D72A.C2730D0@mandrakesoft.com>
2000-11-08 23:49 ` Richard Henderson
[not found] ` <3A0977A7.53641C52@mandrakesoft.com>
2000-11-08 17:20 ` Richard Henderson [this message]
2000-11-09 4:45 ` Stephen Degler
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox