From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 4317CDE006 for ; Fri, 1 Jun 2007 15:08:24 +1000 (EST) In-Reply-To: <46B96294322F7D458F9648B60E15112C30777C@zch01exm26.fsl.freescale.net> References: <11798051102658-git-send-email-wei.zhang@freescale.com> <11798051101543-git-send-email-wei.zhang@freescale.com> <1179805110272-git-send-email-wei.zhang@freescale.com> <1179805110278-git-send-email-wei.zhang@freescale.com> <1179856792.27985.22.camel@rhino> <46B96294322F7D458F9648B60E15112C234A2D@zch01exm26.fsl.freescale.net> <46B96294322F7D458F9648B60E15112C30777C@zch01exm26.fsl.freescale.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: From: Kumar Gala Subject: Re: [PATCH 3/5] Float the pci bus number on MPC8641HPCN board. Date: Fri, 1 Jun 2007 00:08:12 -0500 To: "Zhang Wei-r63237" Cc: linuxppc-dev@ozlabs.org, paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On May 31, 2007, at 9:01 PM, Zhang Wei-r63237 wrote: > Hi, Kumar, > >> >> Can this be fixed by just setting hose->bus_offset in add_bridge? >> >> Doing this in exclude is very bad. > > That's my original doing. If there a PCI bridge card be pluged into > PCI > slot of hose0, I can not ensue the bus_offset number of hose1. Ok, but can't we use hose0's last_busno and use that set hose1- >first_busno & hose1->bus_offset? - k