From: java33 at inwind.it <java33@inwind.it>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problem with transparent PCI-PCI bridge on Canyonlands
Date: Thu, 24 Dec 2009 13:08:33 +0100 (CET) [thread overview]
Message-ID: <29424722.65971261656513963.JavaMail.defaultUser@defaultHost> (raw)
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
next reply other threads:[~2009-12-24 12:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-24 12:08 java33 at inwind.it [this message]
2009-12-24 14:34 ` [U-Boot] Problem with transparent PCI-PCI bridge on Canyonlands Felix Radensky
2010-01-13 11:12 ` Felix Radensky
-- strict thread matches above, loose matches on Subject: below --
2009-12-09 18:02 Felix Radensky
2009-12-09 20:49 ` Wolfgang Denk
2009-12-09 22:10 ` Felix Radensky
2009-12-09 22:21 ` Felix Radensky
2009-12-09 23:01 ` Wolfgang Denk
2009-12-09 23:15 ` Felix Radensky
2009-12-09 23:16 ` Feng Kan
2009-12-10 22:01 ` Felix Radensky
2009-12-15 7:30 ` Felix Radensky
2009-12-15 9:10 ` Stefan Roese
2009-12-15 12:42 ` Felix Radensky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29424722.65971261656513963.JavaMail.defaultUser@defaultHost \
--to=java33@inwind.it \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox