Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/rmi - report of BIST result is information onl...



details:   https://anonhg.NetBSD.org/src/rev/dc01c49260dc
branches:  trunk
changeset: 764217:dc01c49260dc
user:      cliff <cliff%NetBSD.org@localhost>
date:      Thu Apr 14 05:20:52 2011 +0000

description:
- report of BIST result is information only; don't fail attach because of it

diffstat:

 sys/arch/mips/rmi/rmixl_usbi.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 0792ab811490 -r dc01c49260dc sys/arch/mips/rmi/rmixl_usbi.c
--- a/sys/arch/mips/rmi/rmixl_usbi.c    Thu Apr 14 05:20:08 2011 +0000
+++ b/sys/arch/mips/rmi/rmixl_usbi.c    Thu Apr 14 05:20:52 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rmixl_usbi.c,v 1.2 2011/02/20 07:48:37 matt Exp $      */
+/*     $NetBSD: rmixl_usbi.c,v 1.3 2011/04/14 05:20:52 cliff Exp $     */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2002, 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_usbi.c,v 1.2 2011/02/20 07:48:37 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_usbi.c,v 1.3 2011/04/14 05:20:52 cliff Exp $");
 
 #include "locators.h"
 
@@ -148,10 +148,10 @@
         r = RMIXL_IOREG_READ(RMIXL_IO_DEV_GPIO + RMIXL_GPIO_BIST_EACH_STS);
        aprint_normal(": BIST status=");
        if ((r & __BIT(18)) == 0) {                     /* XXX USB_BIST */
-               aprint_normal("FAIL\n");
-               return;
+               aprint_normal("FAIL,");
+       } else {
+               aprint_normal("OK,");
        }
-       aprint_normal("OK");
 
        /*
         * set BYTESWAP_EN register nonzero when software is little endian



Home | Main Index | Thread Index | Old Index