Re: Resolved(?): no support for DECstation 3100 in 3.1 kernel?

"Dennis Grevenstein" <[email protected]>
Newsgroups gmane.os.netbsd.ports.pmax
Message-ID <[email protected]>
On 10/16/07, David Brownlee <[email protected]> wrote:
>
>         Hmm, the 4.0 release is taking up a fair amount of time for some
>         people - could you resend the patch to me?

no problem. I've copied this from the older mail:

--- orig_netbsd/src/sys/arch/mips/mips/mips_machdep.c   2005-09-12
00:10:13.000000000 +0200
+++ mod_pmax/src/sys/arch/mips/mips/mips_machdep.c      2007-10-01
01:40:31.000000000 +0200
@@ -251,6 +251,8 @@
 static const struct pridtab cputab[] = {
       { 0, MIPS_R2000, -1, -1,                CPU_ARCH_MIPS1, 64,
         CPU_MIPS_NO_LLSC,                     "MIPS R2000 CPU"        },
+        { 0, MIPS_R3000, MIPS_REV_R2PMAX, -1,    CPU_ARCH_MIPS1, 64,
+          CPU_MIPS_NO_LLSC,                     "MIPS R2000A CPU"        },
       { 0, MIPS_R3000, MIPS_REV_R3000, -1,    CPU_ARCH_MIPS1, 64,
         CPU_MIPS_NO_LLSC,                     "MIPS R3000 CPU"        },
       { 0, MIPS_R3000, MIPS_REV_R3000A, -1,   CPU_ARCH_MIPS1, 64,

--- orig_netbsd/src/sys/arch/mips/include/cpuregs.h     2003-10-30
00:41:10.000000000 +0100
+++ mod_pmax/src/sys/arch/mips/include/cpuregs.h        2007-10-01
01:35:35.000000000 +0200
@@ -736,6 +736,7 @@
 */

 /* For MIPS_R3000 */
+#define MIPS_REV_R2PMAX                0x16    /* R2000A used in some PMAXen */
 #define        MIPS_REV_R3000          0x20
 #define        MIPS_REV_R3000A         0x30



-- 
Don't suffer from insanity...
Enjoy every minute of it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.