[Top] [All Lists]

Generic DECstation kernel? (was: patch-linux-2.1.100_pl5)

Subject: Generic DECstation kernel? (was: patch-linux-2.1.100_pl5)
From: Harald Koerfgen <>
Date: Fri, 04 Sep 1998 20:29:25 +0200 (MEST)
In-reply-to: <>
Organization: none
Reply-to: "Harald Koerfgen" <>
Hi all,

On 03-Sep-98 Thomas Riemer wrote:
> are patches for declance support and dz11 support for the decstation
> linux mips kernel.
> They have been tested with and without dz11 support. 

I've just downloaded your patch.

Looking at the patch I found the following lines in arch/mips/dec/promcon.c:

> #ifndef CONFIG_DZ 
>  __initfunc (long serial_console_init(long kmem_start, long kmem_end))
> {
>        register_console(&sercons);
>        return kmem_start;
> }
> #endif /* ifdef CONFIG_DZ */

I'll take that as a sign, that at least serial console works on DS2/3100. Great
stuff! Thanks Olivier and Thomas.

We now have serial consoles running on DZ based as well as Z8530 based
DECstations and I'd like to kick out the PROM console for various reasons.


Another question: The way Olivier and Thomas have implemented the DZ driver
would lead to undefined results when activating TURBOchannel and DZ support. Do
we really want generic kernels?

I can think of a file dec_sercons.c with, for example:

--- example ---

#include <asm/dec/tc.h>

extern ...; [a whole lotta external declarations]

#ifdef CONFIC_TC
static struct console dz_sercons = {

#ifdef CONFIG_DZ
static struct console zs_sercons = {

__initfunc(long serial_console_setup((long kmem_start, long kmem_end))
#if defined(CONFIG_DZ) && defined(CONFIG_TC)
        if (IOASIC)

#ifdef CONFIG_DZ

#ifdef CONFIG_TC

#endif /* CONFIG_DZ && CONFIG_TC */
        return kmem_start;

--- end example ---

but we could run into similar "complications" in other device drivers. 

What do you think?

<Prev in Thread] Current Thread [Next in Thread>