Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/evbppc



In article <20050123.055042.74751001.shige%FreeBSD.org@localhost@FreeBSD.org>
shige%NetBSD.org@localhost wrote:

> > IMHO, obs405_machdep.c looks better name rather than md_machdep.c.
> > (machine-dependent machdep.c?)
> 
> Hmm...
> I think,  walnut board source codes will be based on powerpc/ibm4xx codes.
>   - evbppc/obs405/obs405_machdep.c
>   - evbppc/walnut/walnut_machdep.c
>   - evbppc/xxx/xxx_machdep.c

If obs405 and walnut don't share the same kernel binary,
they should be:
- evbppc/obs405/machdep.c (obs405 specific)
- evbppc/walnut/machdep.c (walnut specific)
- evbppc/evbppc/evbppc_machdep.c (if there is common part among these machines)
- powerpc/ibm4xx/ibm4xx_machdep.c (ibm4xx common part)
- powerpc/powerpc/powerpc_machdep.c (already exist)
etc., i.e. you don't have to rename obs405/machdep.c.

> I want to avoid using "xxx" persistently... :)

Well, you say it's redundant?
IMHO, md_machdep.c has less meaning anyway.
---
Izumi Tsutsui
tsutsui%ceres.dti.ne.jp@localhost



Home | Main Index | Thread Index | Old Index