Subject: kern/17369: Incorrect OUI for Davicom MII (dmphy)
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-bugs
Date: 06/23/2002 15:22:46
>Number: 17369
>Category: kern
>Synopsis: Incorrect OUI for Davicom MII (dmphy)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 23 13:23:00 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: