Subject: Re: .../arch/alpha/tc/scc.c #includes
To: None <,>
From: Olaf Seibert <>
List: port-alpha
Date: 10/25/2000 10:25:34
On Wed 25 Oct 2000 at 08:52:11 +0200, wrote:
> On 24 Oct, Olaf Seibert wrote:
> > .../arch/alpha/tc/scc.c #includes <pmax/include/pmioctl.h>

> :-)
> This is not Linux. There are no separate kernel sources for each
> architekture. _Everything_ is in one source code tree. Reuse of code
> from other architektures is intended. 

Well yes, but then the sources are generally placed in a
machine-independent directory. Or in some cases in a directory which is
meant for some subset of machines (with m68k or ppc I think).

What we have here is that a non-pmax file is incuding a pmax-only file.
This looks like a mistake to me.  I think this include file (and the
others I did not mention) should be moved to a more appropriate
location, and that that location is included in both the ksrc-pmax and
the ksrc-alpha sup set.

If that is not feasable for some reason, at the very least these pmax
files should be added to the ksrc-alpha sup set.

But some shared directory seems necessary anyway; a friend is getting a
DEC 5400 and apparently that's mostly a VAX but with a MIPS processor,
so if his project of getting NetBSD working on it ever gets off the
ground, a lot of code sharing should be possible.

>          Jochen
___ Olaf 'Rhialto' Seibert - rhialto@polder    -- Ah only did well at school
\X/       -- tae git intae an O level class tae git away fae Begbie.
Hi! I am a .signature virus. Copy me into your .signature to help me spread.