linux-mips-fnet
[Top] [All Lists]

patch for dz.c on DecStation 5000/200

To: linux-mips@fnet.fr
Subject: patch for dz.c on DecStation 5000/200
From: Dave Airlie <airlied@csn.ul.ie>
Date: Sat, 10 Apr 1999 18:25:17 +0100 (IST)
Hi,
        I've attached a patch to dz.c from the 2.2.1-dec kernel that
allows the Linux serial console to work on a Decstation 5000/200,

However the lines I have added were taken from further up the serial code
and I am unsure of their correctness, i.e. they work on my decstation, but
might break other peoples,

Now for the rest of the kernel :-)

Dave.

------------ David Airlie, David.Airlie@ul.ie,airlied@skynet --------
Telecommunications Research Centre, ECE Dept, University of Limerick \
http://www.csn.ul.ie/~airlied   -- Telecommunications Researcher      \
--- TEL: +353-61-202695 -----------------------------------------------
1518c1518,1521
<       dz_console->port = KN01_DZ11_BASE; 
---
>       if ((mips_machtype == MACH_DS23100) || (mips_machtype == MACH_DS5100))
>                       dz_console->port = KN01_DZ11_BASE;
>               else
>                       dz_console->port = KN02_DZ11_BASE;
1546c1549,1552
<       dz_console->port = KN01_DZ11_BASE; 
---
>       if ((mips_machtype == MACH_DS23100) || (mips_machtype == MACH_DS5100))
>                 dz_console->port = KN01_DZ11_BASE;
>         else
>                 dz_console->port = KN02_DZ11_BASE;
<Prev in Thread] Current Thread [Next in Thread>