Bug 191312 - [re] re does not work with TP-Link TG-3468 v2
Summary: [re] re does not work with TP-Link TG-3468 v2
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-23 14:20 UTC by Nuno Carvalho
Modified: 2014-06-26 02:16 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Carvalho 2014-06-23 14:20:00 UTC
Hi,

I installed on my system a new PCIe Gigabit Network card ( TP-Link TG-3468 v2 ),which seems to have a RealTek chipset, but the re driver does not recognizes the card. Grabbed the logs that I posted bellow this.

dmesg log:

re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F PCIe Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfdfff000-0xfdffffff,0xf9ffc000-0xf9ffffff irq 11 at device 0.0 on pci3
re0: Using 1 MSI-X message
re0: Chip rev. 0x80000000
re0: MAC rev. 0x00000000
re0: Unknown H/W revision: 0x80000000
device_attach: re0 attach returned 6

pciconf output:

none3@pci0:3:0:0:	class=0x020000 card=0x34687470 chip=0x816810ec rev=0x06 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass   = ethernet

Tried to use the Realtek drivers and the result is the same.

Thanks.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-06-26 01:33:21 UTC
Over to maintainers.
Comment 2 Hiren Panchasara freebsd_committer freebsd_triage 2014-06-26 02:16:13 UTC
Afaik, "re0: Chip rev. 0x80000000" is not supported by looking at: $src/sys/pci/if_rlreg.h in -CURRENT.

I am not well-versed with this code but yongari@ (cced in the ticket) may be able to help here. 

cheers,
Hiren