[PATCH] 2.6.12.3 Compilation error when CONFIG_PQ2FADS=y

Downing, Thomas Thomas.Downing at ipc.com
Fri Jul 22 23:46:03 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.

The patch has been tested on PQ2FADS-ZU and -VR boards on 8280
and 8275 devices.

--- linux-2.6.12.3/arch/ppc/syslib/m82xx_pci.c	2005-07-15 17:18:57.000000000 -0400
+++ linux-musrum/arch/ppc/syslib/m82xx_pci.c	2005-07-20 08:42:41.000000000 -0400
@@ -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);

Thomas Downing
IPC Information Systems, LLC



More information about the Linuxppc-embedded mailing list