All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vitaly Bordug <vbordug@ru.mvista.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev <linuxppc-dev@ozlabs.org>,
	Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH 4/5] [POWERPC] Fix kernel build errors for mpc8272ads and mpc8560ads
Date: Wed, 10 Jan 2007 23:50:51 +0300	[thread overview]
Message-ID: <20070110235051.256b5794@localhost.localdomain> (raw)
In-Reply-To: <628EF2F5-2700-4CB9-B1E4-3DB225232AE1@kernel.crashing.org>

[-- Attachment #1: Type: text/plain, Size: 2392 bytes --]

On Wed, 10 Jan 2007 11:11:05 -0600
Kumar Gala wrote:

> 
> On Jan 9, 2007, at 7:12 PM, Vitaly Bordug wrote:
> 
> >
> > Recent update of asm-powerpc/io.h caused cpm-related stuff to
> > break in the
> > current kernel. Current patch fixes it, and includes other
> > overhaul and
> > improvements (incomplete list is below). Required for proper  
> > functioning of
> > the 8xx stuff as well.
> >
> > - Updated dts with a chosen node with interrupt controller,
> > - fixed messed device IDs among CPM2 SoC devices,
> > - corrected odd header name and fixed type in defines,
> > - Added 82xx subdir to the powerpc/platforms Makefile, new
> >   solely-powerpc header for 8260 family (was using one from arch/ 
> > ppc, this
> >   one cleaned up from the extra stuff).
> >
> > Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
> > ---
> >
> >  arch/powerpc/platforms/82xx/mpc82xx.c     |    2 +-
> >  arch/powerpc/platforms/82xx/mpc82xx_ads.c |    2 +-
> >  arch/powerpc/platforms/82xx/pq2ads.h      |    5 +++--
> >  arch/powerpc/platforms/Makefile           |    1 +
> >  drivers/net/fs_enet/fs_enet.h             |    1 +
> >  drivers/serial/cpm_uart/cpm_uart_cpm1.h   |    3 ---
> >  drivers/serial/cpm_uart/cpm_uart_cpm2.h   |    3 ---
> >  include/asm-powerpc/fs_pd.h               |    6 ++++++
> >  include/asm-powerpc/io.h                  |    6 ++++++
> >  9 files changed, 19 insertions(+), 10 deletions(-)
> 
> > diff --git a/include/asm-powerpc/fs_pd.h
> > b/include/asm-powerpc/fs_pd.h index 3d0e819..2ba51b9 100644
> > --- a/include/asm-powerpc/fs_pd.h
> > +++ b/include/asm-powerpc/fs_pd.h
> > @@ -25,6 +25,12 @@ static inline int uart_clock(void)
> >          return ppc_proc_freq;
> >  }
> >
> > +#if defined(CONFIG_8260)
> > +#include <asm/mpc8260.h>
> > +#elif defined(CONFIG_85xx)
> > +#include <asm/mpc85xx.h>
> > +#endif
> > +
> 
> what do we need these includes for?
> 

This is to keep ppc stuff still working mostly. Basically, whole this
header is for such aim.
To be specific, both fs_enet and cpm_uart will bail the compilation out
failing to find CPM_MAP_ADDR:

drivers/net/fs_enet/fs_enet-main.c:1144: error: 'CPM_MAP_ADDR'
undeclared (first use in this function)

and so forth.
> >  #define
> > cpm2_map(member)						\
> > ({
> > \ u32 offset = offsetof(cpm2_map_t, member);
> > \
> 
> - k

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-01-10 20:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-10  1:11 [PATCH 1/5] [POWERPC] cpm2: Updates for CPM2 pic Vitaly Bordug
2007-01-10  1:11 ` [PATCH 2/5] [POWERPC] cpm_uart: OF-related updates Vitaly Bordug
2007-01-10  1:11 ` [PATCH 3/5] [FS_ENET] OF-related update for FEC and SCC MAC's Vitaly Bordug
2007-01-10 17:07   ` Kumar Gala
2007-01-10 20:14     ` Vitaly Bordug
2007-01-10  1:12 ` [PATCH 4/5] [POWERPC] Fix kernel build errors for mpc8272ads and mpc8560ads Vitaly Bordug
2007-01-10 17:11   ` Kumar Gala
2007-01-10 20:50     ` Vitaly Bordug [this message]
2007-01-10 20:58       ` Kumar Gala
2007-01-10 21:41         ` Vitaly Bordug
2007-01-10  1:12 ` [PATCH 5/5] [POWERPC] mpc8272ads: defconfig Vitaly Bordug
2007-01-10  2:13 ` [PATCH 1/5] [POWERPC] cpm2: Updates for CPM2 pic Paul Mackerras
2007-01-10  5:09   ` Vitaly Bordug
2007-01-10 17:02 ` Kumar Gala
2007-01-10 20:13   ` Vitaly Bordug
2007-01-10 20:55     ` Kumar Gala
2007-01-10 20:58       ` Vitaly Bordug
  -- strict thread matches above, loose matches on Subject: below --
2007-01-13  0:41 [PATCH 1/5] [POWERPC] cpm2: CPM2 interrupt controller fix Vitaly Bordug
2007-01-13  0:42 ` [PATCH 4/5] [POWERPC] Fix kernel build errors for mpc8272ads and mpc8560ads Vitaly Bordug

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=20070110235051.256b5794@localhost.localdomain \
    --to=vbordug@ru.mvista.com \
    --cc=galak@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.