NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/49889: support for D-Link DFE520TX



>Number:         49889
>Category:       kern
>Synopsis:       support for D-Link DFE520TX
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sat May 09 21:50:01 +0000 2015
>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@localhost:/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,




Home | Main Index | Thread Index | Old Index