From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 28 Aug 2002 15:20:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 28 Aug 2002 15:20:41 -0400 Received: from zeus.kernel.org ([204.152.189.113]:49116 "EHLO zeus.kernel.org") by vger.kernel.org with ESMTP id ; Wed, 28 Aug 2002 15:20:40 -0400 From: Benjamin Herrenschmidt To: Linus Torvalds Cc: Ivan Kokshaysky , Manfred Spraul , Subject: Re: [patch 2.5.31] transparent PCI-to-PCI bridges Date: Wed, 28 Aug 2002 20:35:09 +0200 Message-Id: <20020828183509.29741@192.168.4.1> In-Reply-To: References: X-Mailer: CTM PowerMail 3.1.2 carbon MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >I agree. There is absolutely no reason to artificially limit the "bus" >structure to only three resoruces (and with hardcoded behaviour at that). > > .../... > >In short: if anything, we may at some point make the number of resources >_larger_, not smaller. What about removing that hard coded 4 where ever it lives, and either do a #define (that could eventually be overriden by arch) or do a dynamically allocated array ? If you are ok with that, I'll put that on my list of things to do when I get back to moving the pmac drivers to 2.5 Ben.