From: Jon Loeliger Date: Wed, 11 Jul 2007 14:51:15 -0500 Subject: [U-Boot-Users] [PATCH 0/5] Generic PCI-E changes for relative bus numbering Message-ID: <1184183475.25384.86.camel@ld0161-tx32> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Folks, The following 5 patches from Ed Swarthout changes how PCI-Express bus numbers are assigned such that P2P bridge] bus numbers programmed into the device are relative to hose->first_busno. The first patch ensures that the hose->current_busno is not less than first_busno. This fixes broken board code which leaves current_busno=0 when first_busno is greater than 0 for the cases with multiple controllers. Minor improvements to some DEBUG() output are also added. Two generic PCI functions are un-static-ized for use in my follow up patchset for the 86xx platform. I've only been able to test this on a limited number of boards with PCI-Express support, so anyone else who can verify these changes would be appreciated. Thanks, jdl PS -- Look! Real changes in a small patchset! drivers/pci.c | 8 +++++++- drivers/pci_auto.c | 44 ++++++++++++++++++++++++++++++++------------ drivers/pci_indirect.c | 4 ++-- 3 files changed, 41 insertions(+), 15 deletions(-)