From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 800772F095 for ; Wed, 8 Nov 2000 12:21:04 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA8HL4310875 for axp-list@listman.redhat.com; Wed, 8 Nov 2000 12:21:04 -0500 Received: from piglet.twiddle.net (piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA8HL3D10867 for ; Wed, 8 Nov 2000 12:21:03 -0500 Received: (from rth@localhost) by piglet.twiddle.net (8.9.3/8.9.3) id JAA27327; Wed, 8 Nov 2000 09:20:46 -0800 Date: Wed, 8 Nov 2000 09:20:46 -0800 From: Richard Henderson To: Jeff Garzik Cc: Ivan Kokshaysky , axp-list@redhat.com, linux-kernel@vger.kernel.org Subject: Re: PCI-PCI bridges mess in 2.4.x Message-ID: <20001108092046.A27324@twiddle.net> References: <20001101153420.A2823@jurassic.park.msu.ru> <20001101093319.A18144@twiddle.net> <20001103111647.A8079@jurassic.park.msu.ru> <20001103011640.A20494@twiddle.net> <20001106192930.A837@jurassic.park.msu.ru> <20001108013931.A26972@twiddle.net> <3A0977A7.53641C52@mandrakesoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <3A0977A7.53641C52@mandrakesoft.com> X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors 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~