Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 18 Aug 2002 10:24:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 18 Aug 2002 10:24:21 -0400 Received: from sccrmhc02.attbi.com ([204.127.202.62]:39416 "EHLO sccrmhc02.attbi.com") by vger.kernel.org with ESMTP id ; Sun, 18 Aug 2002 10:24:21 -0400 Date: Sun, 18 Aug 2002 07:28:16 -0700 From: "H. J. Lu" To: Ivan Kokshaysky Cc: Jeff Garzik , dhinds , linux kernel Subject: Re: PATCH: New fix for CardBus bridge behind a PCI bridge Message-ID: <20020818072816.A19927@lucon.org> References: <20020812112911.A18947@lucon.org> <20020812122158.A27172@sonic.net> <20020812140730.A21710@lucon.org> <20020812154851.A20073@sonic.net> <20020812202942.A27362@lucon.org> <20020816194825.A7086@jurassic.park.msu.ru> <20020816224950.A17930@lucon.org> <3D5E6B10.9070106@mandrakesoft.com> <20020817083601.A26274@lucon.org> <20020818144948.A1241@localhost.park.msu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020818144948.A1241@localhost.park.msu.ru>; from ink@jurassic.park.msu.ru on Sun, Aug 18, 2002 at 02:49:48PM +0400 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1127 Lines: 30 On Sun, Aug 18, 2002 at 02:49:48PM +0400, Ivan Kokshaysky wrote: > On Sat, Aug 17, 2002 at 08:36:01AM -0700, H. J. Lu wrote: > > It could be. But I doubt it. At least, I don't think you can treat a > > AGP bridge like a 82801BAM/CAM bridge. I think 82801BAM/CAM is a > > special case. You really have to read the datasheet to know for sure. > > You're right by all means. AGP bridges are _always_ positive decoders. > The problems you've seen were caused by the wrong semicolon somehow > sneaked into the patch: > > +static void __init pci_fixup_transparent_bridge(struct pci_dev *dev) > +{ > + if ((dev->class >> 8) == PCI_CLASS_BRIDGE_PCI && > + (dev->device & 0xff00) == 0x2400); > ^ Ugh.. > + dev->class |= 1; > +} > > Which means that I'm setting bit 0 in the ProgIf for _all_ Intel devices... > I'm really sorry about that. Yes. It works now. Thanks. H.J. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/