public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: "Mark A. Greer" <mgreer@mvista•com>
To: "Mark A. Greer" <mgreer@mvista•com>
Cc: linuxppc-dev@ozlabs•org, Paul Mackerras <paulus@samba•org>
Subject: Re: [PATCH] Start arch/powerpc/boot code reorganization
Date: Wed, 20 Sep 2006 13:58:33 -0700	[thread overview]
Message-ID: <20060920205833.GA24809@mag.az.mvista.com> (raw)
In-Reply-To: <20060920012843.GA29635@mag.az.mvista.com>

On Tue, Sep 19, 2006 at 06:28:43PM -0700, Mark A. Greer wrote:
> On Tue, Sep 19, 2006 at 06:20:42PM -0700, Mark A. Greer wrote:
> > Paul,
> > 
> > Regarding our earlier conversation about ft_translate_addr and
> ...
> 
> BTW, the only changes to your patch would be removing translate_addr from
> dt_ops in ops.h and removing the "dt_ops.translate_addr = NULL;" line
> in of.c.

FWIW, here is a patch to do this:

diff -u b/arch/powerpc/boot/of.c b/arch/powerpc/boot/of.c
--- b/arch/powerpc/boot/of.c
+++ b/arch/powerpc/boot/of.c
@@ -270,7 +270,6 @@
 	dt_ops.finddevice = of_finddevice;
 	dt_ops.getprop = of_getprop;
 	dt_ops.setprop = of_setprop;
-	dt_ops.translate_addr = NULL;
 
 	console_ops.open = of_console_open;
 	console_ops.write = of_console_write;
diff -u b/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h
--- b/arch/powerpc/boot/ops.h
+++ b/arch/powerpc/boot/ops.h
@@ -34,8 +34,6 @@
 			const int buflen);
 	int	(*setprop)(const void *node, const char *name,
 			const void *buf, const int buflen);
-	u64	(*translate_addr)(const char *path, const u32 *in_addr,
-			const u32 addr_len);
 	unsigned long (*ft_addr)(void);
 };
 extern struct dt_ops dt_ops;

  reply	other threads:[~2006-09-20 20:57 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-19 23:00 [PATCH] Start arch/powerpc/boot code reorganization Paul Mackerras
2006-09-20  1:20 ` Mark A. Greer
2006-09-20  1:28   ` Mark A. Greer
2006-09-20 20:58     ` Mark A. Greer [this message]
2006-09-20  3:10   ` Josh Boyer
2006-09-20 20:23     ` Segher Boessenkool
2006-09-20 21:04       ` Josh Boyer
2006-09-20 21:32       ` Benjamin Herrenschmidt
2006-09-20 21:57         ` Mark A. Greer
2006-09-21  0:07           ` Segher Boessenkool
2006-09-21 13:37             ` Matt Porter
2006-09-21 14:15               ` Jon Loeliger
2006-09-21 14:26                 ` Matt Porter
2006-09-21 15:31               ` Segher Boessenkool
2006-09-22  1:24                 ` Mark A. Greer
2006-09-22  8:43                   ` Segher Boessenkool
2006-09-22 18:59                     ` Mark A. Greer
2006-09-22 19:36                       ` Sergei Shtylyov
2006-09-22 20:40                         ` Mark A. Greer
2006-09-22 20:43                           ` Sergei Shtylyov
2006-09-22 20:52                             ` Mark A. Greer
2006-09-22 20:56                               ` Sergei Shtylyov
2006-09-23  0:57                         ` Segher Boessenkool
2006-09-23 15:48                           ` Sergei Shtylyov
2006-09-23  0:54                       ` Segher Boessenkool
2006-09-23  8:18                         ` Mark A. Greer
2006-09-23 10:15                           ` Segher Boessenkool
2006-09-25 17:53                             ` Mark A. Greer
2006-09-25 23:40                               ` Segher Boessenkool
2006-09-25 23:44                                 ` Segher Boessenkool
2006-09-25 23:46                                 ` Mark A. Greer
2006-09-28 20:53                             ` Sergei Shtylyov
2006-09-30  8:36                               ` Segher Boessenkool
  -- strict thread matches above, loose matches on Subject: below --
2006-09-19  3:21 Paul Mackerras
2006-09-19  4:22 ` Michael Ellerman
2006-09-19  4:29   ` Paul Mackerras

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=20060920205833.GA24809@mag.az.mvista.com \
    --to=mgreer@mvista$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=paulus@samba$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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