Subject: kern/11001: /sys/dev/pci/if_vr.c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pollen@astrakan.hig.se>
List: netbsd-bugs
Date: 09/13/2000 01:54:14
>Number:         11001
>Category:       kern
>Synopsis:       D-Link DFE530TX Ethernet not recognized by driver
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 13 01:55:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Petter Lindquist
>Release:        1.5_ALPHA2
>Organization:
>Environment:
Celeron 633, NetBSD 1.5 ALPHA2
System: NetBSD peli 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (EBI) #1: Tue Sep 12 16:31:17 CEST 2000 root@:/usr/src/sys/arch/i386/compile/EBI i386
Celeron, D-Link DFE530TX Ethernet

>Description:
The D-Link DFE530TX Ethernet NIC isn't recognized by the kernel, but are
said to be supported by the vr driver.

>How-To-Repeat:
Boot a kernel with the vr driver on a machine with a D-Link DFE530TX
Ethernet.

>Fix:
Make an addition to /sys/dev/pci/if_vr.c

Add an element to the vr_devs[] array:

{ 0x1106, 0x3065, "D-Link DFE530TX Ethernet" }

And please change vendor and product codes to #defines, I'm not very
familiar with those in the kernel source.

Now the NIC runs fine here (We have 32 boxes with that NIC).

Ok, that was my first sent pr, spank me and correct me if I've done wrong!
>Release-Note:
>Audit-Trail:
>Unformatted: