Author: markj
Date: Mon Oct  5 19:58:55 2020
New Revision: 366464
URL: https://svnweb.freebsd.org/changeset/base/366464

Log:
  re(4): Add a 8168-compatible device ID
  
  This is described in RealTek's driver as a "RTL8168 Series add-on card."
  
  PR:           250037
  Submitted by: Hiroshi HASEGAWA <hhase1...@gmail.com>
  MFC after:    1 week

Modified:
  head/sys/dev/re/if_re.c
  head/sys/dev/rl/if_rlreg.h

Modified: head/sys/dev/re/if_re.c
==============================================================================
--- head/sys/dev/re/if_re.c     Mon Oct  5 19:45:11 2020        (r366463)
+++ head/sys/dev/re/if_re.c     Mon Oct  5 19:58:55 2020        (r366464)
@@ -186,6 +186,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" },
+       { RT_VENDORID, RT_DEVICEID_8161, 0,
+           "RealTek 8168 Gigabit Ethernet" },
        { NCUBE_VENDORID, RT_DEVICEID_8168, 0,
            "TP-Link TG-3468 v2 (RTL8168) Gigabit Ethernet" },
        { RT_VENDORID, RT_DEVICEID_8169, 0,

Modified: head/sys/dev/rl/if_rlreg.h
==============================================================================
--- head/sys/dev/rl/if_rlreg.h  Mon Oct  5 19:45:11 2020        (r366463)
+++ head/sys/dev/rl/if_rlreg.h  Mon Oct  5 19:58:55 2020        (r366464)
@@ -999,6 +999,7 @@ struct rl_softc {
 #define        RT_DEVICEID_8138                        0x8138
 #define        RT_DEVICEID_8139                        0x8139
 #define        RT_DEVICEID_8169SC                      0x8167
+#define        RT_DEVICEID_8161                        0x8161
 #define        RT_DEVICEID_8168                        0x8168
 #define        RT_DEVICEID_8169                        0x8169
 #define        RT_DEVICEID_8100                        0x8100
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to