Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sgimips/hpc Allow hpc to attach on IP20.



details:   https://anonhg.NetBSD.org/src/rev/676b74899668
branches:  trunk
changeset: 556369:676b74899668
user:      sekiya <sekiya%NetBSD.org@localhost>
date:      Sun Dec 14 07:28:17 2003 +0000

description:
Allow hpc to attach on IP20.

diffstat:

 sys/arch/sgimips/hpc/hpc.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 62ffe8a6d679 -r 676b74899668 sys/arch/sgimips/hpc/hpc.c
--- a/sys/arch/sgimips/hpc/hpc.c        Sun Dec 14 07:21:51 2003 +0000
+++ b/sys/arch/sgimips/hpc/hpc.c        Sun Dec 14 07:28:17 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hpc.c,v 1.19 2003/12/04 05:31:27 lonewolf Exp $        */
+/*     $NetBSD: hpc.c,v 1.20 2003/12/14 07:28:17 sekiya Exp $  */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpc.c,v 1.19 2003/12/04 05:31:27 lonewolf Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpc.c,v 1.20 2003/12/14 07:28:17 sekiya Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -158,6 +158,10 @@
        int sysmask, hpctype;
 
        switch (mach_type) {
+       case MACH_SGI_IP20:
+               hpctype = 15;
+               sysmask = HPCDEV_IP20;
+               break;
        case MACH_SGI_IP22:
                hpctype = 3;
                if (mach_subtype == MACH_SGI_IP22_FULLHOUSE)



Home | Main Index | Thread Index | Old Index