Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x68k/x68k In XM6 TypeG (and original XM6), its vers...
details: https://anonhg.NetBSD.org/src/rev/dbe5c517d4ee
branches: trunk
changeset: 345894:dbe5c517d4ee
user: isaki <isaki%NetBSD.org@localhost>
date: Tue Jun 14 07:51:10 2016 +0000
description:
In XM6 TypeG (and original XM6), its version number is
represented by BCD, not decimal.
Reported by GIMONS (the author of XM6 typeG).
diffstat:
sys/arch/x68k/x68k/machdep.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 1a8de7e406d0 -r dbe5c517d4ee sys/arch/x68k/x68k/machdep.c
--- a/sys/arch/x68k/x68k/machdep.c Tue Jun 14 03:34:01 2016 +0000
+++ b/sys/arch/x68k/x68k/machdep.c Tue Jun 14 07:51:10 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.192 2015/09/16 05:48:52 isaki Exp $ */
+/* $NetBSD: machdep.c,v 1.193 2016/06/14 07:51:10 isaki Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.192 2015/09/16 05:48:52 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.193 2016/06/14 07:51:10 isaki Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -421,7 +421,7 @@
xm6imark = intio_get_sysport_sramwp();
switch (xm6imark) {
case 0xff: /* Original XM6 or unknown compatibles */
- snprintf(buf, bufsize, "XM6 v%d.%02d",
+ snprintf(buf, bufsize, "XM6 v%x.%02x",
xm6major, xm6minor);
break;
@@ -433,7 +433,7 @@
break;
case 'g': /* XM6 TypeG */
- snprintf(buf, bufsize, "XM6 TypeG v%d.%02d",
+ snprintf(buf, bufsize, "XM6 TypeG v%x.%02x",
xm6major, xm6minor);
break;
Home |
Main Index |
Thread Index |
Old Index