[PATCH] 2.6.12.3 Compilation error when CONFIG_PQ2FADS=y

STALE7693d

2 messages, 2 authors, 2005-07-22 · open the first message on its own page

[PATCH] 2.6.12.3 Compilation error when CONFIG_PQ2FADS=y

From: Downing, Thomas <hidden>
Date: 2005-07-22 13:59:21

Compilation fails for arch/ppc/syslib/m82xx_pci.c in version
2.6.12.3 when CONFIG_PQ2FADS=3Dy.  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 =3D =
(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 =3D =
(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 =3D cpu_to_le32(PCIGCR_PCI_BUS_EN);

Thomas Downing
IPC Information Systems, LLC

Re: [PATCH] 2.6.12.3 Compilation error when CONFIG_PQ2FADS=y

From: Kumar Gala <hidden>
Date: 2005-07-22 16:16:53

Thanks for the patch, I'll send it upstream.  In the future can you  
follow the patch submission details described in Documentation/ 
SubmittingPatches.

- kumar

On Jul 22, 2005, at 8:46 AM, Downing, Thomas wrote:
quoted hunk
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- 
quoted
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- 
quoted
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
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help