Subject: kern/25152: Incomplete vendor name in auvia(4) driver messages.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 04/12/2004 15:55:05
>Number:         25152
>Category:       kern
>Synopsis:       Incomplete vendor name in auvia(4) driver messages.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 12 13:55:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Joly
>Release:        NetBSD 2.0C (-current 20040412)
>Organization:
	Institut Pasteur
>Environment:
System: NetBSD cixy.dial.pasteur.fr 2.0C NetBSD 2.0C (CIXY) #1: Mon Apr 12 00:35:47 CEST 2004 njoly@cixy.dial.pasteur.fr:/local/src/NetBSD/obj/i386/sys/arch/i386/compile/CIXY i386
Architecture: i386
Machine: i386
>Description:
I noticed, that auvia(4) boot messages have incomplete vendor name :

njoly@cixy [~]> dmesg|grep VIA
pchb0: VIA Technologies VT8363 KT133 System Controller (rev. 0x81)
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8363 KT133 PCI to AGP Bridge (rev. 0x00)
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x22)
viaide0: VIA Technologies VT82C686A (Apollo KX133) ATA66 controller
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x10)
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhci1 at pci0 dev 7 function 3: VIA Technologies VT83C572 USB Controller (rev. 0x10)
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
auvia0 at pci0 dev 7 function 5: VIA VT82C686A AC'97 Audio (rev H)

The last line should use `VIA Technologies' instead of currently `VIA',
to be consistent with other chipsets messages.

>How-To-Repeat:
Check boot messages ...
>Fix:
auvia0 at pci0 dev 7 function 5: VIA Technologies VT82C686A AC'97 Audio (rev H)

Add missing `Audio' for VT8233/VT8235, while here.

Index: sys/dev/pci/auvia.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/auvia.c,v
retrieving revision 1.37
diff -u -r1.37 auvia.c
--- sys/dev/pci/auvia.c	31 Mar 2004 21:10:04 -0000	1.37
+++ sys/dev/pci/auvia.c	11 Apr 2004 22:42:03 -0000
@@ -304,7 +304,7 @@
 		}
 		if (r >= VIA_REV_8235) /* 2 rec, 4 pb, 1 multi-pb, spdif */
 			revnum = "5";
-		aprint_normal(": VIA VT823%s AC'97 (rev %s)\n",
+		aprint_normal(": VIA Technologies VT823%s AC'97 Audio (rev %s)\n",
 			revnum, sc->sc_revision);
 	} else {
 		sc->sc_revision[1] = '\0';
@@ -316,7 +316,7 @@
 			sprintf(sc->sc_revision, "0x%02X", r);
 		}
 
-		aprint_normal(": VIA VT82C686A AC'97 Audio (rev %s)\n",
+		aprint_normal(": VIA Technologies VT82C686A AC'97 Audio (rev %s)\n",
 		       sc->sc_revision);
 	}
 
>Release-Note:
>Audit-Trail:
>Unformatted: