Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst/arch/sandpoint Add KURO-BOX/T4 support...



details:   https://anonhg.NetBSD.org/src/rev/858548e77371
branches:  trunk
changeset: 779227:858548e77371
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Sat May 12 08:31:52 2012 +0000

description:
Add KURO-BOX/T4 support to sysinst. Tested good with the target
machine.

diffstat:

 distrib/utils/sysinst/arch/sandpoint/md.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3c71a721d6e5 -r 858548e77371 distrib/utils/sysinst/arch/sandpoint/md.c
--- a/distrib/utils/sysinst/arch/sandpoint/md.c Sat May 12 01:40:37 2012 +0000
+++ b/distrib/utils/sysinst/arch/sandpoint/md.c Sat May 12 08:31:52 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.39 2012/01/25 19:03:35 phx Exp $ */
+/*     $NetBSD: md.c,v 1.40 2012/05/12 08:31:52 nisimura Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -77,7 +77,7 @@
        prodname = malloc(len);
        sysctlbyname(mib_name, prodname, &len, NULL, 0);
 
-       if (strcmp(prodname, "kurobox") == 0)
+       if (strcmp(prodname, "kurobox")==0 || strcmp(prodname, "kurot4")==0)
                /*
                 * Running on a KuroBox family product, so enable KUROBOX
                 */
@@ -175,7 +175,7 @@
         * Set the console speed in /etc/ttys depending on the board.
         * The default speed is 115200, which is patched when needed.
         */
-       if (strcmp(prodname, "kurobox") == 0)
+       if (strcmp(prodname, "kurobox")==0 || strcmp(prodname, "kurot4")==0)
                new_speed = 57600;                      /* KuroBox */
 
        else if (strcmp(prodname, "dlink") == 0 ||      /* D-Link DSM-G600 */



Home | Main Index | Thread Index | Old Index