projects
/
J-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be32bf2
)
fsl_pci: Only modify registers if we have them
author
Kumar Gala
<galak@kernel.crashing.org>
Wed, 23 Apr 2008 21:58:04 +0000
(16:58 -0500)
committer
Wolfgang Denk
<wd@denx.de>
Thu, 24 Apr 2008 12:20:12 +0000
(14:20 +0200)
pme_msg_det exists only on PCIe controllers only set it if we are a "bridge".
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/pci/fsl_pci_init.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/fsl_pci_init.c
b/drivers/pci/fsl_pci_init.c
index 68e45e17b3c3b5d3e3dca778587c15ad80736c3e..7dc33be89959fcee932e317e1666fae823ff69b8 100644
(file)
--- a/
drivers/pci/fsl_pci_init.c
+++ b/
drivers/pci/fsl_pci_init.c
@@
-182,7
+182,8
@@
fsl_pci_init(struct pci_controller *hose)
/* Clear all error indications */
- pci->pme_msg_det = 0xffffffff;
+ if (bridge)
+ pci->pme_msg_det = 0xffffffff;
pci->pedr = 0xffffffff;
pci_hose_read_config_word (hose, dev, PCI_DSR, &temp16);
This page took
0.035827 seconds
and
4
git commands to generate.