Subject: Re: Repo-copy request: evbppc port for OpenBlockS266
To: Shigeyuki Fukushima <shige@NetBSD.org>
From: Matt Thomas <matt@3am-software.com>
List: port-powerpc
Date: 09/20/2003 06:57:16
On Saturday, September 20, 2003, at 02:00 AM, Shigeyuki Fukushima wrote:

> Hello,
>
> I have worked on porting to OpenBlockS266 box (see also
> http://people.freebsd.org/~shige/netbsd/obs266/).
> Now, I'm trying to commit my works into the NetBSD repository.

sys/arch/openblocks266s is too long of a name.  It would be
nice if all the openblocks could share a common port directory
(similar in style to evbppc).

sys/arch/openblocks would be ok IMO if that was to happen.  If not,
maybe ob266s or similar.

> For the present, I think that I need to repo-copy files
> listed in the below, because we want to keep CVS changing-history
> of these files.

Will they have significant changes or not?

> Would you like to repo-copy the following files?

No.  IMO, stating where they came from (file & revision) in the
initial commit message is enough.

> List of repo-copy files:
>
>   src/sys/arch/evbppc/include/walnut.h
>     => src/sys/arch/evbppc/include/openblocks266.h

How much of this file is common?  Maybe this should move under
powerpc/include/ibm4xx appopriately renamed.

>   src/sys/arch/evbppc/walnut/autoconf.c
>    => src/sys/arch/evbppc/openblocks266/autoconf.c

There might want to be a ibm4xx_autoconf for the device
tree  (cpu_configure etal).  And then a very small port-specific
autoconf.c for what's left (if anything).

>   src/sys/arch/evbppc/walnut/consinit.c
>    => src/sys/arch/evbppc/openblocks266/consinit.c

same common comment.

>   src/sys/arch/evbppc/walnut/machdep.c
>    => src/sys/arch/evbppc/openblocks266/machdep.c

Do we need a common ibm4xx_machdep.c like there is
a oea_machdep.c?  Probably.

>   src/sys/arch/evbppc/walnut/walnut_start.S
>    => src/sys/arch/evbppc/openblocks266/openblocks266_start.S

Is this common too?

>   src/sys/arch/evbppc/walnut/dev/pbus.c
>    => src/sys/arch/evbppc/openblocks266/dev/pbus.c

These should be common to all IBM4xx.  Should be moved
under powerpc/ibm4xx/dev/.

>   src/sys/arch/evbppc/walnut/dev/pbusvar.h
>    => src/sys/arch/evbppc/openblocks266/dev/pbusvar.h
>
>   src/sys/arch/evbppc/walnut/dev/pckbc_pbus.c
>    => src/sys/arch/evbppc/openblocks266/dev/pckbc_pbus.c
>
>   src/sys/arch/evbppc/walnut/dev/todclock.c
>    => src/sys/arch/evbppc/openblocks266/dev/todclock.c
>
>   src/sys/arch/evbppc/walnut/dev/todclockvar.h
>    => src/sys/arch/evbppc/openblocks266/dev/todclockvar.h
>
>   src/sys/arch/evbppc/walnut/pci/pchb.c
>    => src/sys/arch/evbppc/openblocks266/pci/pchb.c
>
>   src/sys/arch/evbppc/walnut/pci/pci_machdep.c
>    => src/sys/arch/evbppc/openblocks266/pci/pci_machdep.c
-- 
Matt Thomas                     email: matt@3am-software.com
3am Software Foundry              www: http://3am-software.com/bio/matt/
Cupertino, CA              disclaimer: I avow all knowledge of this 
message.