NetBSD Problem Report #32866
From seebs@vash.cel.plethora.net Sat Feb 18 13:06:27 2006
Return-Path: <seebs@vash.cel.plethora.net>
Received: from vash.cel.plethora.net (216-243-131-210.static.iphouse.net [216.243.131.210])
by narn.netbsd.org (Postfix) with ESMTP id 6F83F63B8A0
for <gnats-bugs@gnats.NetBSD.org>; Sat, 18 Feb 2006 13:06:26 +0000 (UTC)
Message-Id: <200602181303.k1ID3gPf010435@vash.cel.plethora.net>
Date: Sat, 18 Feb 2006 07:03:42 -0600 (CST)
From: seebs <seebs@vash.cel.plethora.net>
Reply-To: seebs@vash.cel.plethora.net
To: gnats-bugs@netbsd.org
Subject: Tentative support for NS DP83847 PHY
X-Send-Pr-Version: 3.95
>Number: 32866
>Category: kern
>Synopsis: DP83847 was using ukphy, should be nsphyter
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: thorpej
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 18 13:10:00 +0000 2006
>Closed-Date: Sat Feb 18 14:20:06 +0000 2006
>Last-Modified: Sat Feb 18 14:20:06 +0000 2006
>Originator: seebs
>Release: NetBSD 3.99.15
>Organization:
>Environment:
NetBSD tams3011.plethora.net 3.99.15 NetBSD 3.99.15 (TAMS3011) #7: Sat Feb 18 06:59:27 CST 2006 seebs@vash.cel.plethora.net:/home/seebs/3011_src/sys/arch/evbppc/compile/TAMS3011 evbppc
Architecture: ppc
Machine: evbppc
>Description:
The DP83847 PHY, used on the TAMS 3011, works okay as a ukphy, but
seems to be close enough to the DP83843 to Just Work in that driver.
>How-To-Repeat:
Port NetBSD to a new platform.
>Fix:
This utterly naive patch seems to "just work" for me. System is up and
running with NFS root running over emac0.
Index: miidevs
===================================================================
RCS file: /cvsroot/src/sys/dev/mii/miidevs,v
retrieving revision 1.62
diff -c -r1.62 miidevs
*** miidevs 4 Jan 2006 21:42:51 -0000 1.62
--- miidevs 18 Feb 2006 13:03:52 -0000
***************
*** 188,193 ****
--- 188,194 ----
/* National Semiconductor PHYs */
model xxNATSEMI DP83840 0x0000 DP83840 10/100 media interface
model xxNATSEMI DP83843 0x0001 DP83843 10/100 media interface
+ model xxNATSEMI DP83847 0x0003 DP83847 10/100 media interface
model xxNATSEMI DP83815 0x0002 DP83815 10/100 media interface
model xxNATSEMI DP83891 0x0005 DP83891 1000BASE-T media interface
model xxNATSEMI DP83861 0x0006 DP83861 1000BASE-T media interface
Index: nsphyter.c
===================================================================
RCS file: /cvsroot/src/sys/dev/mii/nsphyter.c,v
retrieving revision 1.22
diff -c -r1.22 nsphyter.c
*** nsphyter.c 11 Dec 2005 12:22:42 -0000 1.22
--- nsphyter.c 18 Feb 2006 13:03:58 -0000
***************
*** 110,115 ****
--- 110,118 ----
{ MII_OUI_xxNATSEMI, MII_MODEL_xxNATSEMI_DP83843,
MII_STR_xxNATSEMI_DP83843 },
+ { MII_OUI_xxNATSEMI, MII_MODEL_xxNATSEMI_DP83847,
+ MII_STR_xxNATSEMI_DP83847 },
+
{ MII_OUI_xxNATSEMI, MII_MODEL_xxNATSEMI_DP83815,
MII_STR_xxNATSEMI_DP83815 },
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->thorpej
Responsible-Changed-By: thorpej@netbsd.org
Responsible-Changed-When: Sat, 18 Feb 2006 14:20:06 +0000
Responsible-Changed-Why:
I checked in the patch.
State-Changed-From-To: open->closed
State-Changed-By: thorpej@netbsd.org
State-Changed-When: Sat, 18 Feb 2006 14:20:06 +0000
State-Changed-Why:
Patch checked in.
>Unformatted:
(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.