LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] powerpc/86xx: Run sbc310 USB fixup code only on the appropriate platform.
@ 2009-03-13 11:35 Martyn Welch
  2009-03-19  8:57 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: Martyn Welch @ 2009-03-13 11:35 UTC (permalink / raw)
  To: linuxppc-dev

Patch to limit NEC fixup to SBC310, following similar patch to SBC610 by Tony Breeds: 368a12117dd8abf6eaefa37c21ac313b517128b9

Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
---

Hi Kumar, 

The sbc310 patches have been added to your next tree. This patch is
needed to stop the same problem occuring as occured with the sbc610.

 arch/powerpc/platforms/86xx/gef_sbc310.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/platforms/86xx/gef_sbc310.c b/arch/powerpc/platforms/86xx/gef_sbc310.c
index 0f20172..ba3ce43 100644
--- a/arch/powerpc/platforms/86xx/gef_sbc310.c
+++ b/arch/powerpc/platforms/86xx/gef_sbc310.c
@@ -153,6 +153,10 @@ static void __init gef_sbc310_nec_fixup(struct pci_dev *pdev)
 {
 	unsigned int val;
 
+	/* Do not do the fixup on other platforms! */
+	if (!machine_is(gef_sbc310))
+		return;
+
 	printk(KERN_INFO "Running NEC uPD720101 Fixup\n");
 
 	/* Ensure only ports 1 & 2 are enabled */

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

* Re: [PATCH] powerpc/86xx: Run sbc310 USB fixup code only on the appropriate platform.
  2009-03-13 11:35 [PATCH] powerpc/86xx: Run sbc310 USB fixup code only on the appropriate platform Martyn Welch
@ 2009-03-19  8:57 ` Kumar Gala
  0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2009-03-19  8:57 UTC (permalink / raw)
  To: Martyn Welch; +Cc: linuxppc-dev


On Mar 13, 2009, at 6:35 AM, Martyn Welch wrote:

> Patch to limit NEC fixup to SBC310, following similar patch to  
> SBC610 by Tony Breeds: 368a12117dd8abf6eaefa37c21ac313b517128b9
>
> Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
> ---
>
> Hi Kumar,
>
> The sbc310 patches have been added to your next tree. This patch is
> needed to stop the same problem occuring as occured with the sbc610.
>
> arch/powerpc/platforms/86xx/gef_sbc310.c |    4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)

applied

- k

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

end of thread, other threads:[~2009-03-19  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 11:35 [PATCH] powerpc/86xx: Run sbc310 USB fixup code only on the appropriate platform Martyn Welch
2009-03-19  8:57 ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox