[PATCH] PPC compilation error with CONFIG_PQ2FADS

From: Downing, Thomas
Date: Thu Jul 21 2005 - 11:39:13 EST


The 2.6.12.3 kernel compilation fails for
ARCH=ppc when CONFIG_PQ2FADS=y. This patch
has been tested on Freescale PQ2FADS-ZU and
-VR boards.

--- 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 @@
* 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/