linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4/5] Updates for WRS SBC82xx boards
@ 2006-05-25 18:30 Paul Gortmaker
  2006-05-26  8:09 ` Vitaly Bordug
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Gortmaker @ 2006-05-25 18:30 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: p_gortmaker

patch4: sbc82xx-mchk-pci9.diff1
	- restore machine check disable for PCI9 that was in earlier
	  m8260_pci.c


Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>



--- 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
 
+#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 &

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 4/5] Updates for WRS SBC82xx boards
  2006-05-25 18:30 [PATCH 4/5] Updates for WRS SBC82xx boards Paul Gortmaker
@ 2006-05-26  8:09 ` Vitaly Bordug
  0 siblings, 0 replies; 2+ messages in thread
From: Vitaly Bordug @ 2006-05-26  8:09 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: linuxppc-embedded

On Thu, 25 May 2006 14:30:38 -0400
Paul Gortmaker <paul.gortmaker@windriver.com> wrote:

> patch4: sbc82xx-mchk-pci9.diff1
> 	- restore machine check disable for PCI9 that was in earlier
> 	  m8260_pci.c
> 
> 
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> 
> 
> 
> --- 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 
> +#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... 


>  #if defined CONFIG_ADS8272
>  	immap->im_siu_conf.siu_82xx.sc_siumcr =
>  		(immap->im_siu_conf.siu_82xx.sc_siumcr &
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-26  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 18:30 [PATCH 4/5] Updates for WRS SBC82xx boards Paul Gortmaker
2006-05-26  8:09 ` Vitaly Bordug

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).