Thread (1 message) 1 message, 1 author, 2002-10-03
  • (off-list ancestor, not in this archive)
  • Re: 4xx file moving · Matt Porter <hidden> · 2002-10-03

Re: 4xx file moving

From: Matt Porter <hidden>
Date: 2002-10-03 18:20:28

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help