Bug 46320

Summary: D-Link DFE-530TX no reconnized
Product: Base System Reporter: pelaga_r <raffa>
Component: kernAssignee: silby
Status: Closed FIXED    
Severity: Affects Only Me CC: pelaga_r
Priority: Normal    
Version: 4.7-RELEASE   
Hardware: Any   
OS: Any   

Description pelaga_r 2002-12-17 06:10:00 UTC
	Hello,
        I have 2 D-Link DFE-530TX cards, the first is an Rev A1 and the second a
 	Rev C1.
        The First work great, but the second isn't found by the system.
        the dmesg said :
        pci0: <Unknown Card> (vendor=0x1106, dev=0x3106) at 13.0 irq 12
        I tried to modify if_vr.c and if_vrreg.h
        and now, dmesg say : 
        vr0: <VIA ????????? Rhine II 10/100BaseTX> port 0xdc00-0xdcff mem \
        0xcfffcf00-0xcfffcfff irq 12 at device 13.0 on pci0
        vr0: Ethernet address: 00:05:5d:68:c3:53
        vr0: MII without any phy!

How-To-Repeat: 	Put a D-Link 530-TX Rev C.1 on a FreeBSD box
Comment 1 silby freebsd_committer freebsd_triage 2002-12-17 20:00:02 UTC
Responsible Changed
From-To: freebsd-bugs->silby

I'll look into this.  Please submit the contents of a pciconf -l from your 
system, it will help in diagnosing the problem.
Comment 2 vons 2003-01-25 12:10:30 UTC
I just ran into the same problem, a brand new D-link DFE-530TX rev C1 that 
isn't recognised.

I'm running FreeBSD 4.7-RELEASE i386

boot msg:

Jan 25 12:54:01 dodo /kernel: pci0: <unknown card> (vendor=0x1106, 
dev=0x3106) at 13.0 irq 12

pciconf -l:

chip0@pci0:0:0: class=0x060000 card=0x154110b9 chip=0x154110b9 rev=0x04 
hdr=0x00
pcib1@pci0:1:0: class=0x060400 card=0x000000e0 chip=0x524310b9 rev=0x04 
hdr=0x01
ohci0@pci0:2:0: class=0x0c0310 card=0x00000000 chip=0x523710b9 rev=0x03 
hdr=0x00
alpm0@pci0:3:0: class=0x068000 card=0x710110b9 chip=0x710110b9 rev=0x00 
hdr=0x00
none0@pci0:6:0: class=0x040100 card=0x1969125d chip=0x1969125d rev=0x00 
hdr=0x00
isab0@pci0:7:0: class=0x060100 card=0x00000000 chip=0x153310b9 rev=0xc3 
hdr=0x00
dc0@pci0:9:0:   class=0x020000 card=0xf0041385 chip=0x000211ad rev=0x20 
hdr=0x00
de0@pci0:10:0:  class=0x020000 card=0x01001186 chip=0x00141011 rev=0x21 
hdr=0x00
none1@pci0:11:0:        class=0x030000 card=0x00000000 chip=0x88115333 
rev=0x00 hdr=0x00
sym0@pci0:12:0: class=0x010000 card=0x39041de1 chip=0x000f1000 rev=0x03 
hdr=0x00
none2@pci0:13:0:        class=0x020000 card=0x14031186 chip=0x31061106 
rev=0x86 hdr=0x00
none3@pci0:15:0:        class=0x01018a card=0x00000000 chip=0x522910b9 
rev=0xc1 hdr=0x00

The 530TX is the board listed as none2@pic0:13:0

I found a message using Google stating that this card apparently uses a 
Rhine III chip, which the 'vr' driver doesn't support yet?

Regards,
	Gert-Jan
Comment 3 vons 2003-01-25 14:22:20 UTC
Some digging reveals that the board uses a

     VT6105 Rhine III PCI Fast Ethernet Controller

Seems there are 3 versions (6105, 6105M, 6105LOM). Not sure which one the 
530TX uses, the chip on the card doesn't have 6105 in its ref/id numbers.

The datasheet is available from via, and mentions the pci vendor- and 
device ids 0x1106 resp 0x3106:

     http://www.via.com.tw/en/Networking/DS6105M110.pdf

Regards,

	Gert-Jan
Comment 4 silby freebsd_committer freebsd_triage 2003-02-12 21:13:42 UTC
State Changed
From-To: open->closed

6105 chips are now recognized by the if_vr driver in 4.7-stable.