Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/arch/sgimips/sgimips Pull up revision 1.24 (request...
details: https://anonhg.NetBSD.org/src/rev/932139344c52
branches: netbsd-2-0
changeset: 562142:932139344c52
user: tron <tron%NetBSD.org@localhost>
date: Fri Jul 23 06:58:42 2004 +0000
description:
Pull up revision 1.24 (requested by rumble in ticket #682):
attach zs console on IP12
from Steve Rumble
diffstat:
sys/arch/sgimips/sgimips/console.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r ffe41a972e14 -r 932139344c52 sys/arch/sgimips/sgimips/console.c
--- a/sys/arch/sgimips/sgimips/console.c Fri Jul 23 06:58:14 2004 +0000
+++ b/sys/arch/sgimips/sgimips/console.c Fri Jul 23 06:58:42 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: console.c,v 1.22.2.1 2004/07/23 06:53:52 tron Exp $ */
+/* $NetBSD: console.c,v 1.22.2.2 2004/07/23 06:58:42 tron Exp $ */
/*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: console.c,v 1.22.2.1 2004/07/23 06:53:52 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: console.c,v 1.22.2.2 2004/07/23 06:58:42 tron Exp $");
#include "opt_kgdb.h"
@@ -102,6 +102,7 @@
KBCMDP, PCKBC_KBD_SLOT);
}
#endif
+ case MACH_SGI_IP12:
#if (NZSC > 0)
if ((strlen(consdev) == 9) &&
(!strncmp(consdev, "serial", 6)) &&
@@ -148,8 +149,12 @@
# endif /* (NCOM > 0) */
# if (NZSC > 0)
- if (mach_type == MACH_SGI_IP20 || mach_type == MACH_SGI_IP22)
+ switch(mach_type) {
+ case MACH_SGI_IP12:
+ case MACH_SGI_IP20:
+ case MACH_SGI_IP22:
zs_kgdb_init(); /* XXX */
+ }
# endif
}
#endif /* KGDB */
Home |
Main Index |
Thread Index |
Old Index