linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 4xx file moving
@ 2002-10-03 13:11 Paul Mackerras
  2002-10-03 18:20 ` Matt Porter
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Mackerras @ 2002-10-03 13:11 UTC (permalink / raw)
  To: linuxppc-dev


In an effort to keep the diffs between Linus' tree and linuxppc-2.5
down, I am planning to send Linus (get Linus to pull) a changeset that
will create arch/ppc/platforms/4xx and move files into it.  I plan to
put the ibm*.[ch] files in arch/ppc/platforms/4xx, though, rather than
arch/ppc/kernel/4xx, since those files are really almost entirely
about what I/O devices are on the chip rather than anything to do with
the core.

That will mean that I will be moving those files in linuxppc-2.5 from
arch/ppc/kernel/4xx to arch/ppc/platforms/4xx as well.  That leaves
only a few files in arch/ppc/kernel/4xx, so I am not sure that it
needs to exist, and I won't send Linus a changeset to create
arch/ppc/kernel/4xx yet - not until I am convinced we need it.

Paul.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: 4xx file moving
  2002-10-03 13:11 4xx file moving Paul Mackerras
@ 2002-10-03 18:20 ` Matt Porter
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Porter @ 2002-10-03 18:20 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev


On Thu, Oct 03, 2002 at 11:11:34PM +1000, Paul Mackerras wrote:
>
> In an effort to keep the diffs between Linus' tree and linuxppc-2.5
> down, I am planning to send Linus (get Linus to pull) a changeset that
> will create arch/ppc/platforms/4xx and move files into it.  I plan to
> put the ibm*.[ch] files in arch/ppc/platforms/4xx, though, rather than
> arch/ppc/kernel/4xx, since those files are really almost entirely
> about what I/O devices are on the chip rather than anything to do with
> the core.
>
> That will mean that I will be moving those files in linuxppc-2.5 from
> arch/ppc/kernel/4xx to arch/ppc/platforms/4xx as well.  That leaves
> only a few files in arch/ppc/kernel/4xx, so I am not sure that it
> needs to exist, and I won't send Linus a changeset to create
> arch/ppc/kernel/4xx yet - not until I am convinced we need it.

I had the impression that the platforms/ directory was for platform
specific (in my mind, board-specific) files.  I would then imagine
that the ibm*.[ch] files would belong in kernel/.  They are similar
to the pplus_common.c and mpc10x_common.c libraries of code that
will be shared by many "platforms" (boards).  Anyway, I have been
working on the premise that board specific files go in platforms/
and shared code goes in kernel/.

I'd like to hear others interpretations and especially yours so
we are all on the same page.  IMHO, the above makes the most sense...
even for SoC processors like 4xx which can have peripherals
mix-and-matched in custom silicon runs in a similar puzzle fashion
to the many 7xx/74xx type embedded board designs we see. ;)

Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2002-10-03 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-03 13:11 4xx file moving Paul Mackerras
2002-10-03 18:20 ` Matt Porter

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).