Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa Print chip name correctly.



details:   https://anonhg.NetBSD.org/src/rev/98edb24127d7
branches:  trunk
changeset: 826154:98edb24127d7
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Aug 17 05:32:04 2017 +0000

description:
Print chip name correctly.

diffstat:

 sys/dev/isa/wbsio.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r ff47aa3f8172 -r 98edb24127d7 sys/dev/isa/wbsio.c
--- a/sys/dev/isa/wbsio.c       Thu Aug 17 05:27:48 2017 +0000
+++ b/sys/dev/isa/wbsio.c       Thu Aug 17 05:32:04 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wbsio.c,v 1.13 2017/08/09 04:45:38 msaitoh Exp $       */
+/*     $NetBSD: wbsio.c,v 1.14 2017/08/17 05:32:04 msaitoh Exp $       */
 /*     $OpenBSD: wbsio.c,v 1.10 2015/03/14 03:38:47 jsg Exp $  */
 /*
  * Copyright (c) 2008 Mark Kettenis <kettenis%openbsd.org@localhost>
@@ -175,7 +175,7 @@
                desc = "W83627DHG";
                break;
        case WBSIO_ID_W83627DHGP:
-               printf("W83627DHG-P");
+               desc = "W83627DHG-P";
                break;
        case WBSIO_ID_W83627EHF:
                desc = "W83627EHF";
@@ -187,7 +187,7 @@
                desc = "W83627THF";
                break;
        case WBSIO_ID_W83627UHG:
-               printf("W83627UHG");
+               desc = "W83627UHG";
                break;
        case WBSIO_ID_W83637HF:
                desc = "W83637HF";
@@ -209,7 +209,7 @@
                break;
        case WBSIO_ID_NCT5104D:
                vendor = "Nuvoton";
-               printf("NCT5104D");
+               desc = "NCT5104D";
                break;
        case WBSIO_ID_NCT6775F:
                vendor = "Nuvoton";



Home | Main Index | Thread Index | Old Index