projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b85f3
)
Add simple agent/end-point configuration in PCI AutoConfig for PCI_CLASS_PROCESSOR_PO...
author
Ed Swarthout
<Ed.Swarthout@freescale.com>
Wed, 11 Jul 2007 19:52:16 +0000
(14:52 -0500)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 11 Jul 2007 21:43:40 +0000
(23:43 +0200)
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
drivers/pci_auto.c
patch
|
blob
|
history
diff --git
a/drivers/pci_auto.c
b/drivers/pci_auto.c
index f16f8d3c84a22c39be1b978f3524c5ac4aa80acb..a3c609ba49ccd9f7abbc00522f4784dae85d95a9 100644
(file)
--- a/
drivers/pci_auto.c
+++ b/
drivers/pci_auto.c
@@
-331,6
+331,12
@@
int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev)
pci_hose_read_config_word(hose, dev, PCI_CLASS_DEVICE, &class);
switch(class) {
+ case PCI_CLASS_PROCESSOR_POWERPC: /* an agent or end-point */
+ DEBUGF("PCI AutoConfig: Found PowerPC device\n");
+ pciauto_setup_device(hose, dev, 6, hose->pci_mem,
+ hose->pci_prefetch, hose->pci_io);
+ break;
+
case PCI_CLASS_BRIDGE_PCI:
hose->current_busno++;
pciauto_setup_device(hose, dev, 2, hose->pci_mem, hose->pci_prefetch, hose->pci_io);