[PATCH] ppc32: Fix building of PQ2FADS with PCI enabled
Kumar Gala
galak at freescale.com
Sat Jul 23 02:19:28 EST 2005
Compilation fails for arch/ppc/syslib/m82xx_pci.c in version
2.6.12.3 when CONFIG_PQ2FADS=y. The following patch fixes the
problems, which are just typographical.
Signed-off-by: Thomas Downing <Thomas.Downing at ipc.com>
Signed-off-by: Kumar Gala <kumar.gala at freescale.com>
---
commit 4bc715f73b35eea5c58a9124f31b05f1fbb3b6c4
tree fb2f9683a7260795ef5ff2d7488f7d19de1b5ffa
parent 9ec8020999ffebb9524ca88e86c15923bf744b55
author Kumar K. Gala <kumar.gala at freescale.com> Fri, 22 Jul 2005 10:40:33 -0500
committer Kumar K. Gala <kumar.gala at freescale.com> Fri, 22 Jul 2005 10:40:33 -0500
arch/ppc/syslib/m82xx_pci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/ppc/syslib/m82xx_pci.c b/arch/ppc/syslib/m82xx_pci.c
--- a/arch/ppc/syslib/m82xx_pci.c
+++ b/arch/ppc/syslib/m82xx_pci.c
@@ -238,9 +238,9 @@ pq2ads_setup_pci(struct pci_controller *
* Setting required to enable IRQ1-IRQ7 (SIUMCR [DPPC]),
* and local bus for PCI (SIUMCR [LBPC]).
*/
- immap->im_siu_conf.siu_82xx.sc_siumcr = (immap->im_siu_conf.sc_siumcr &
- ~(SIUMCR_L2PC11 | SIUMCR_LBPC11 | SIUMCR_CS10PC11 | SIUMCR_APPC11) |
- SIUMCR_BBD | SIUMCR_LBPC01 | SIUMCR_DPPC11 | SIUMCR_APPC10;
+ immap->im_siu_conf.siu_82xx.sc_siumcr = (immap->im_siu_conf.siu_82xx.sc_siumcr &
+ ~(SIUMCR_L2CPC11 | SIUMCR_LBPC11 | SIUMCR_CS10PC11 | SIUMCR_APPC11) |
+ SIUMCR_BBD | SIUMCR_LBPC01 | SIUMCR_DPPC11 | SIUMCR_APPC10);
#endif
/* Enable PCI */
immap->im_pci.pci_gcr = cpu_to_le32(PCIGCR_PCI_BUS_EN);
More information about the Linuxppc-embedded
mailing list