NetBSD Problem Report #8206

Received: (qmail 5897 invoked from network); 14 Aug 1999 07:01:32 -0000
Message-Id: <199908140638.BAA00447@yerfable.metonymy.com>
Date: Sat, 14 Aug 1999 01:38:38 -0500 (CDT)
From: Dave Huang <khym@bga.com>
Reply-To: khym@bga.com
To: gnats-bugs@gnats.netbsd.org
Subject: vr driver's attach message describes card as an "Ethernet Ethernet"
X-Send-Pr-Version: 3.95

>Number:         8206
>Category:       kern
>Synopsis:       vr driver's attach message describes card as an "Ethernet Ethernet"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 14 00:05:00 +0000 1999
>Closed-Date:    Sat Aug 14 11:08:08 +0000 1999
>Last-Modified:  Sat Aug 14 11:09:31 +0000 1999
>Originator:     Dave Huang
>Release:        NetBSD-current as of August 13, 1999
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 23 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:

System: NetBSD yerfable.metonymy.com 1.4J NetBSD 1.4J (YERFABLE) #26: Sat Aug 14 01:29:11 CDT 1999 khym@yerfable.metonymy.com:/usr/src.local/sys/arch/alpha/compile/YERFABLE alpha


>Description:
	The vr driver's attach message repeats the word "Ethernet" in
the card's description:

vr0 at pci0 dev 5 function 0: VIA VT3043 (Rhine) 10/100 Ethernet Ethernet

The vr_devs table includes "Ethernet" in the device name, but
vr_attach() appends another "Ethernet" when printing the attach
message.

>How-To-Repeat:
>Fix:
--- /usr/src/sys/dev/pci/if_vr.c	Wed Aug  4 06:17:29 1999
+++ if_vr.c	Sat Aug 14 01:28:46 1999
@@ -164,9 +164,9 @@
 	const char		*vr_name;
 } vr_devs[] = {
 	{ PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT3043,
-		"VIA VT3043 (Rhine) 10/100 Ethernet" },
+		"VIA VT3043 (Rhine) 10/100" },
 	{ PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT86C100A,
-		"VIA VT86C100A (Rhine-II) 10/100 Ethernet" },
+		"VIA VT86C100A (Rhine-II) 10/100" },
 	{ 0, 0, NULL }
 };

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: hwr 
State-Changed-When: Sat Aug 14 04:08:08 PDT 1999 
State-Changed-Why:  
Patch applied. Thanks. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.