[PATCH] 2.6.12.3 Compilation error when CONFIG_PQ2FADS=y

Kumar Gala kumar.gala at freescale.com
Sat Jul 23 02:16:45 EST 2005


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:

> 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
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>




More information about the Linuxppc-embedded mailing list