linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Zang Roy-r61911 <tie-fei.zang@freescale.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs.org>,
	Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH] powerpc: Support for "weird" MPICs and fixup mpc7448_hpc2
Date: 25 Aug 2006 15:47:42 +0800	[thread overview]
Message-ID: <1156492062.7107.26.camel@localhost.localdomain> (raw)
In-Reply-To: <1156479390.8433.293.camel@localhost.localdomain>

On Fri, 2006-08-25 at 12:16, Benjamin Herrenschmidt wrote:
> This patch is a slightly cleaned up version of Zang Roy's support for
> the TSI108 MPIC variant. It also fixes up MPC7448_hpc2 to use the new
> version of the type macros and changes the way MPIC is selected in
> Kconfig to better match what is done for other system devices.
> 
> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> 
> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
> 
> Zang Roy, please verify that it still works for you. I've tested it on
> an Apple G5 with and without CONFIG_MPIC_WEIRD .
> 

It works OK on my mpc7448hpc2 board. 
There is a sequence for the patch applying.

(1) patch for IRQ update for mpc7448hpc2:
http://ozlabs.org/pipermail/linuxppc-dev/2006-August/025559.html

(2) the weird mpic patch repost by your mail.
(3) the following minor patch to build mpic.o for CONFIG_MPIC_WEIRD

Signed-off-by: Roy Zang     <tie-fei.zang@freescale.com> 
---

diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile
index cebfae2..8ae887b 100644
--- a/arch/powerpc/sysdev/Makefile
+++ b/arch/powerpc/sysdev/Makefile
@@ -3,6 +3,7 @@ EXTRA_CFLAGS			+= -mno-minimal-toc
 endif
 
 obj-$(CONFIG_MPIC)		+= mpic.o
+obj-$(CONFIG_MPIC_WEIRD)	+= mpic.o
 obj-$(CONFIG_PPC_INDIRECT_PCI)	+= indirect_pci.o
 obj-$(CONFIG_PPC_MPC106)	+= grackle.o
 obj-$(CONFIG_BOOKE)		+= dcr.o

  reply	other threads:[~2006-08-25  7:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-25  4:16 [PATCH] powerpc: Support for "weird" MPICs and fixup mpc7448_hpc2 Benjamin Herrenschmidt
2006-08-25  7:47 ` Zang Roy-r61911 [this message]
2006-08-25 22:50   ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1156492062.7107.26.camel@localhost.localdomain \
    --to=tie-fei.zang@freescale.com \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).