From mboxrd@z Thu Jan 1 00:00:00 1970 From: java33 at inwind.it Date: Thu, 24 Dec 2009 13:08:33 +0100 (CET) Subject: [U-Boot] Problem with transparent PCI-PCI bridge on Canyonlands Message-ID: <29424722.65971261656513963.JavaMail.defaultUser@defaultHost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, I've encountered the same problem and found a solution. In drivers/pci/pci_indirect.c, add the following code block at line 79: #elif defined(CONFIG_460EX) #define INDIRECT_PCI_OP(rw, size, type, op, mask) \ static int \ indirect_##rw##_config_##size(struct pci_controller *hose, \ pci_dev_t dev, int offset, type val) \ { \ u32 b, d,f; \ b = PCI_BUS(dev); d = PCI_DEV(dev); f = PCI_FUNC(dev); \ b = b - hose->first_busno; \ dev = PCI_BDF(b, d, f); \ if (PCI_BUS(dev) > 0) \ out_le32(hose->cfg_addr, dev | (offset & 0xfc) | 0x00000001); \ else \ out_le32 (hose->cfg_addr, dev | (offset & 0xfc) | 0x00000000); \ cfg_##rw(val, hose- >cfg_data + (offset & mask), type, op); \ return 0; \ } #else Hope this helps Ciao Max Tretene, ACube Systems Srl