NetBSD Problem Report #17369

Received: (qmail 4397 invoked by uid 605); 23 Jun 2002 20:22:48 -0000
Message-Id: <200206232022.g5NKMkm00668@dahan.azeotrope.org>
Date: Sun, 23 Jun 2002 15:22:46 -0500 (CDT)
From: Dave Huang <khym@azeotrope.org>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: khym@azeotrope.org
To: gnats-bugs@gnats.netbsd.org
Subject: Incorrect OUI for Davicom MII (dmphy)
X-Send-Pr-Version: 3.95

>Number:         17369
>Category:       kern
>Synopsis:       Incorrect OUI for Davicom MII (dmphy)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 23 20:23:00 +0000 2002
>Closed-Date:    Sat Mar 15 08:55:56 +0000 2003
>Last-Modified:  Sat Mar 15 08:55:56 +0000 2003
>Originator:     Dave Huang
>Release:        NetBSD 1.6_BETA3
>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 25 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:


System: NetBSD dahan.azeotrope.org 1.6_BETA3 NetBSD 1.6_BETA3 (SPIFF) #379: Sun Jun 23 01:43:45 CDT 2002 khym@dahan.azeotrope.org:/usr/src.local/sys/arch/i386/compile/SPIFF i386
Architecture: i386
Machine: i386
>Description:
	I keep forgetting to send-pr this... ever since the change in
the way PHY OUIs where calculated (rev 1.15 of miidevs), dmphy no
longer attaches to the DM9101 PHY on my D-Link DFE-530TX.
>How-To-Repeat:
	Boot a kernel on a system with a DM9101 and see:
vr0 at pci0 dev 10 function 0: VIA VT3043 (Rhine) 10/100 Ethernet
vr0: interrupting at irq 9
vr0: Ethernet address: 00:80:c8:f7:c6:96
OUI 0x000676 model 0x0000 rev 0 at vr0 phy 8 not configured

instead of

vr0 at pci0 dev 10 function 0: VIA VT3043 (Rhine) 10/100 Ethernet
vr0: interrupting at irq 9
vr0: Ethernet address: 00:80:c8:f7:c6:96
dmphy0 at vr0 phy 8: DM9101 10/100 media interface, rev. 0
dmphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

>Fix:
--- /usr/src/sys/dev/mii/miidevs	Wed May 22 18:12:09 2002
+++ miidevs	Sun Jun 23 14:45:34 2002
@@ -91,7 +91,7 @@
 oui xxXAQTI			0xace000	XaQti Corp.

 /* Don't know what's going on here. */
-oui xxDAVICOM			0x000602	Davicom Semiconductor
+oui xxDAVICOM			0x000676	Davicom Semiconductor
 oui xxPMCSIERRA			0x0009c0	PMC-Sierra
 oui xxPMCSIERRA2		0x009057	PMC-Sierra


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: drochner 
State-Changed-When: Tue Jun 25 05:36:46 PDT 2002 
State-Changed-Why:  
I've merged the DM9101 and the Am79C873 entries, using the former AMD OUI 
which is confirmed by this PR. 

From: Matthias Drochner <M.Drochner@fz-juelich.de>
To: khym@azeotrope.org
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/17369: Incorrect OUI for Davicom MII (dmphy) 
Date: Tue, 25 Jun 2002 14:36:09 +0200

 khym@azeotrope.org said:
 > OUI 0x000676 model 0x0000 rev 0 at vr0 phy 8 not configured 

 This is the same like the AMD Am79c873. In fact I've found some
 evidence that these are the same chips:
 (http://www.ebnonline.com/daily/0698/060598news12.html)
      AMD will resell Davicom?s single-port PHY devices as part of its strategy 
 of
      offering one-stop shopping for OEM purchasers of LAN chips, according to 
 several
      sources. AMD has its own line of Ethernet-based controllers, but it does 
 not yet have
      an internally developed PHY chip.

 I fail to understand why the chip did match with the old (wrong) Davicom OUI.

 Does it work for you now?

 best regards
 Matthias



From: Dave Huang <khym@azeotrope.org>
To: Matthias Drochner <M.Drochner@fz-juelich.de>
Cc: "gnats-bugs@netbsd.org" <gnats-bugs@netbsd.org>
Subject: Re: kern/17369: Incorrect OUI for Davicom MII (dmphy)
Date: Wed, 26 Jun 2002 12:31:20 -0500 (CDT)

 On Tue, 25 Jun 2002, Matthias Drochner wrote:
 > I fail to understand why the chip did match with the old (wrong) Davicom OUI.

 Which one? It didn't match with 0x000602. However, if you mean the
 really old one (from rev 1.14 of miidevs), I'm pretty sure it did match,
 but my memory's fuzzy about that :) I know it matched some time in the
 past...

 > Does it work for you now?

 Yes it does, thanks! A pullup for 1.6 would be nice :)

State-Changed-From-To: feedback->closed 
State-Changed-By: jdolecek 
State-Changed-When: Sat Mar 15 00:55:33 PST 2003 
State-Changed-Why:  
Confirmed fixed. Thanks for report. 
>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.