NetBSD Problem Report #49889

From www@NetBSD.org  Sat May  9 21:49:17 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 23E16A654C
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  9 May 2015 21:49:17 +0000 (UTC)
Message-Id: <20150509214915.95CD4A65BA@mollari.NetBSD.org>
Date: Sat,  9 May 2015 21:49:15 +0000 (UTC)
From: maxim.tsyplakov@gmail.com
Reply-To: maxim.tsyplakov@gmail.com
To: gnats-bugs@NetBSD.org
Subject: support for D-Link DFE520TX
X-Send-Pr-Version: www-1.0

>Number:         49889
>Category:       kern
>Synopsis:       support for D-Link DFE520TX
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sat May 09 21:50:01 +0000 2015
>Closed-Date:    Tue May 31 06:16:11 +0000 2016
>Last-Modified:  Thu Dec 08 08:00:02 +0000 2016
>Originator:     Maxim Tsyplakov
>Release:        6.1.5
>Organization:
self-employed
>Environment:
NetBSD microb.mz.lan 6.1.5 NetBSD 6.1.5 (MICROB) #0: Sat May  9 23:02:02 MSK 2015  root@microb.mz.lan:/usr/src/sys/arch/amd64/compile/MICROB amd64
>Description:
I just added D-Link DFE520TX 10/100 Ethernet via new pci product id


>How-To-Repeat:
Insert device in pci slot and boot OS w/ GENERIC kernel
dmesg | grep 1186 | grep 4200

And You will see the following output:

vendor 0x1186 product 0x4200 (ethernet network, revision 0x10) at pci2 dev 1 function 0 not configured

>Fix:
Apply these patches on -current syssrc

Index: pcidevs
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1222
diff -u -r1.1222 pcidevs
--- pcidevs     4 May 2015 21:18:22 -0000       1.1222
+++ pcidevs     9 May 2015 21:19:07 -0000
@@ -2088,6 +2088,7 @@
 product        DLINK DWL610            0x3300  DWL-610 802.11b WLAN
 product DLINK DL4000           0x4000  DL-4000 Gigabit Ethernet
 product DLINK DGE550SX         0x4001  DGE-550SX
+product DLINK DFE520TX         0x4200  DFE-520TX 10/100 Ethernet
 product DLINK DGE528T          0x4300  DGE-528T Gigabit Ethernet
 product DLINK DGE560T          0x4b00  DGE-560T Gigabit Ethernet
 product DLINK DGE560T_2                0x4b01  DGE-560T_2 Gigabit Ethernet

Index: if_rtk_pci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_rtk_pci.c,v
retrieving revision 1.45
diff -u -r1.45 if_rtk_pci.c
--- if_rtk_pci.c        29 Mar 2014 19:28:25 -0000      1.45
+++ if_rtk_pci.c        9 May 2015 21:21:13 -0000
@@ -104,6 +104,8 @@
                RTK_8139, "Addtron Technology 8139 10/100BaseTX" },
        { PCI_VENDOR_SEGA, PCI_PRODUCT_SEGA_BROADBAND,
                RTK_8139, "SEGA Broadband Adapter" },
+       { PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_DFE520TX,
+               RTK_8139, "D-Link Systems DFE 520TX" }, 
        { PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_DFE530TXPLUS,
                RTK_8139, "D-Link Systems DFE 530TX+" },
        { PCI_VENDOR_NORTEL, PCI_PRODUCT_NORTEL_BAYSTACK_21,


>Release-Note:

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49889 CVS commit: src/sys/dev/pci
Date: Sat, 9 May 2015 17:53:45 -0400

 Module Name:	src
 Committed By:	christos
 Date:		Sat May  9 21:53:45 UTC 2015

 Modified Files:
 	src/sys/dev/pci: if_rtk_pci.c pcidevs

 Log Message:
 PR/49889: Maxim Tsyplakov: support for D-Link DFE520TX


 To generate a diff of this commit:
 cvs rdiff -u -r1.45 -r1.46 src/sys/dev/pci/if_rtk_pci.c
 cvs rdiff -u -r1.1222 -r1.1223 src/sys/dev/pci/pcidevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: pgoyette@NetBSD.org
State-Changed-When: Tue, 31 May 2016 06:16:11 +0000
State-Changed-Why:
iFix was committed by Christos on May  9 21:53:45 UTC 2015


From: "Soren Jacobsen" <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49889 CVS commit: [netbsd-7] src/sys/dev/pci
Date: Thu, 8 Dec 2016 07:56:46 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Thu Dec  8 07:56:45 UTC 2016

 Modified Files:
 	src/sys/dev/pci [netbsd-7]: pcidevs

 Log Message:
 Pull up following revision(s) (requested by msaitoh in ticket #1291):
 	sys/dev/pci/pcidevs: revisions 1.1221-1.1245, 1.1247-1.1262, 1.1264-1.1269, 1.1271-1.1273
 - Add SystemBase SB16C1050 UARTs.
 - Add D-Link DFE520TX (part of PR#49889 reported by Maxim Tsyplakov).
 - Add Realtek RTL8188EE and RTL8192CE
 - Add PLX Technology PEX 8111.
 - Add some Red Hat devices.
 - Add Samsung SM951.
 - Add several NVIDIA geforce and NVS cards.
 - Add some ATI/AMD devices.
 - Add Radeon HD 2400 and TSB82AA2 IEEE 1394 Host Controller.
   Reported by T. M. Pederson (PR#40987).
 - Add some Edimax, AWT, Fusion-io and Ralink devices of ral(4).
 - Add MSI RT3090, Edimax RT3591, Ralink RT 536[02] and RT5390 of
   ral(4).
 - Add vendor ID of Super Micro.
 - Add MegaRAID SAS3008.
 - Fix entries. The following problems were found while sorting entries:
   - Remove the following entries because the value is duplicated:
     CMDTECH_240		(CMDTECH_AAR_1210SA has the same value)
     INTEL_C610_SATA_RAID (INTEL_82801H_SATA_RAID has the same vaule)
     INTEL_C610_PCIE_1_3	(82801BA_HPB has the same value)
     GEFORCE_610M3	(GEFORCE_610M2 has the same value)
   - RADEON_RV350_NQ is not 0x4e41 but 0x4e51
   - 82801JD_SATA_RAID is not 0x3a02 but 0x3a05.
   - The following two entries have the same number. Fix one of them:
     DH89XXCL_USB_2 to 0x23b5	(was 0x23b4 (== DH89XXCL_USB_1))
     5500_HB to 0x3404 and change the desc (was 0x3403 (== 3400_HB))
     82X58_PCIE_0_1 to 0x3421	(was 0x3420 (== 82X58_PCIE_0_0))
     82801JI_THERMAL to 0x3a32	(was 0x3a30 (== 82801JI_SMB))
 - Add the following Intel entries:
   - PCIe NVMe SSD.
   - Dual Band Wireless AC 3165.
   - I219 family Ethernet devices.
   - Dual Band Wireless AC 3165, 4165 and 8260 devices.
   - 82597EX_SR (part of PR#47750).
   - Braswell devices.
   - Core 6G devices.
   - 100 series chipset devices.
   - Xeon D devices.
   - Xeon 5[56]00 devices.
   - Xeon E7 v4 devices.
 - Add "Core i7-6xxxK" to some Intel devices' description.
 - Fix Intel XE5_V3_IMC1_DDRIO_[34]'s values.
 - Add another ID for Intel 82Q45 KT.
 - Add some entries of Intel 965 Express Chipset.
 - Add some Intel Xeon E5 v3 devices.
 - Add some Intel 1st gen Core PCI devices.
 - Add some Intel Core 5G devices.
 - Add some Intel Core i7-6xxxK devices.
 - Add some Intel Core i7-800 and i5-700 devices.
 - Add some Intel 10G devices.
 - Add ASMedia ASM1042A USB 3.0 Host Controller.
 - Add ASMEDIA ASM1083/1085/1142.
 - Add Marvell Armada38x and 88AP510.
 - Add Qualcomm Atheros QCA986x/988x.
 - Add Atheros AR9565 Wireless LAN.
 - Sort entries in device ID's order.
 - Fix typo.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1199.2.6 -r1.1199.2.7 src/sys/dev/pci/pcidevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.