Module Name: src Committed By: cliff Date: Thu Apr 14 05:20:53 UTC 2011
Modified Files: src/sys/arch/mips/rmi: rmixl_usbi.c Log Message: - report of BIST result is information only; don't fail attach because of it To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/mips/rmi/rmixl_usbi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/rmi/rmixl_usbi.c diff -u src/sys/arch/mips/rmi/rmixl_usbi.c:1.2 src/sys/arch/mips/rmi/rmixl_usbi.c:1.3 --- src/sys/arch/mips/rmi/rmixl_usbi.c:1.2 Sun Feb 20 07:48:37 2011 +++ src/sys/arch/mips/rmi/rmixl_usbi.c Thu Apr 14 05:20:52 2011 @@ -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