Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2016 14:15:16 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r306102 - in head: share/man/man4 sys/dev/re sys/dev/rl
Message-ID:  <201609211415.u8LEFG2P085182@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevlo
Date: Wed Sep 21 14:15:15 2016
New Revision: 306102
URL: https://svnweb.freebsd.org/changeset/base/306102

Log:
  Add support for the TP-Link TG-3468 v2.
  
  This is an RTL8168 chip, which we already support so all we have to do is add
  the vendor ID.
  
  PR:	212876
  Submitted by:	Tobias Kortkamp <t@tobik.me>
  MFC after:	3 days

Modified:
  head/share/man/man4/re.4
  head/sys/dev/re/if_re.c
  head/sys/dev/rl/if_rlreg.h

Modified: head/share/man/man4/re.4
==============================================================================
--- head/share/man/man4/re.4	Wed Sep 21 14:11:18 2016	(r306101)
+++ head/share/man/man4/re.4	Wed Sep 21 14:15:15 2016	(r306102)
@@ -30,7 +30,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd January 26, 2011
+.Dd September 21, 2016
 .Dt RE 4
 .Os
 .Sh NAME
@@ -165,6 +165,8 @@ LinkSys EG1032 (32-bit PCI)
 .It
 PLANEX COMMUNICATIONS Inc.\& GN-1200TC (8169S)
 .It
+TP-Link TG-3468 v2 Gigabit Ethernet (8168)
+.It
 USRobotics USR997902 Gigabit Ethernet (8169S)
 .It
 Xterasys XN-152 10/100/1000 NIC (8169)

Modified: head/sys/dev/re/if_re.c
==============================================================================
--- head/sys/dev/re/if_re.c	Wed Sep 21 14:11:18 2016	(r306101)
+++ head/sys/dev/re/if_re.c	Wed Sep 21 14:15:15 2016	(r306102)
@@ -183,6 +183,8 @@ static const struct rl_type re_devs[] = 
 	    "RealTek 810xE PCIe 10/100baseTX" },
 	{ RT_VENDORID, RT_DEVICEID_8168, 0,
 	    "RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet" },
+	{ NCUBE_VENDORID, RT_DEVICEID_8168, 0,
+	    "TP-Link TG-3468 v2 (RTL8168) Gigabit Ethernet" },
 	{ RT_VENDORID, RT_DEVICEID_8169, 0,
 	    "RealTek 8169/8169S/8169SB(L)/8110S/8110SB(L) Gigabit Ethernet" },
 	{ RT_VENDORID, RT_DEVICEID_8169SC, 0,

Modified: head/sys/dev/rl/if_rlreg.h
==============================================================================
--- head/sys/dev/rl/if_rlreg.h	Wed Sep 21 14:11:18 2016	(r306101)
+++ head/sys/dev/rl/if_rlreg.h	Wed Sep 21 14:15:15 2016	(r306102)
@@ -1158,3 +1158,8 @@ struct rl_softc {
 /* US Robotics 997902 device ID */
 
 #define	USR_DEVICEID_997902	0x0116
+
+/* 
+ * NCube vendor ID
+ */
+#define	NCUBE_VENDORID		0x10FF



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609211415.u8LEFG2P085182>