Skip to contentSkip to conversation

Updates for WRS SBC82xx boards

PATCH In review Paul Gortmaker 2 participants 2 messages May 25, 2006 – May 26, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 Updates for WRS SBC82xx boards

patch4: sbc82xx-mchk-pci9.diff1

	- restore machine check disable for PCI9 that was in earlier
	  m8260_pci.c
arch/ppc/syslib/m82xx_pci.c renamed from arch/ppc/syslib/m82xx_pci.c.orig +5 -0
@@ -227,6 +227,11 @@
 	immap->im_memctl.memc_pcibr1  = M82xx_PCI_SEC_WND_BASE | PCIBR_ENABLE;
 #endif
 
+#ifdef CONFIG_8260_PCI9 
+	/* Disable machine check on no response or target abort */
+        immap->im_pci.pci_emr = cpu_to_le32(0x1fe7);
+#endif
+
 #if defined CONFIG_ADS8272
 	immap->im_siu_conf.siu_82xx.sc_siumcr =
 		(immap->im_siu_conf.siu_82xx.sc_siumcr &
#1 lore raw
Quoted 15 lines · On Thu, 25 May 2006 14:30:38 -0400 Paul Gortmaker…

patch4: sbc82xx-mchk-pci9.diff1

	- restore machine check disable for PCI9 that was in earlier
	  m8260_pci.c

--- linux-2.6.16_rc5/arch/ppc/syslib/m82xx_pci.c.orig

2006-02-27 15:02:01.000000000 -0500 +++

linux-2.6.16_rc5/arch/ppc/syslib/m82xx_pci.c 2006-02-27
16:05:20.000000000 -0500 @@ -227,6 +227,11 @@ immap->im_memctl.memc_pcibr1 = M82xx_PCI_SEC_WND_BASE | PCIBR_ENABLE; #endif

arch/ppc/syslib/m82xx_pci.c line 234

Quoted 5 lines
arch/ppc/syslib/m82xx_pci.c renamed from arch/ppc/syslib/m82xx_pci.c.orig +5 -0
+#ifdef CONFIG_8260_PCI9 
+	/* Disable machine check on no response or target abort */
+        immap->im_pci.pci_emr = cpu_to_le32(0x1fe7);
+#endif
+

No need in such a level of splitness - this is going to be hard to understand in common...

Quoted 9 lines

#if defined CONFIG_ADS8272

arch/ppc/syslib/m82xx_pci.c renamed from arch/ppc/syslib/m82xx_pci.c.orig +0 -0
 	immap->im_siu_conf.siu_82xx.sc_siumcr =
 		(immap->im_siu_conf.siu_82xx.sc_siumcr &

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded