Author: yongari
Date: Tue Oct 29 05:37:05 2013
New Revision: 257306
URL: http://svnweb.freebsd.org/changeset/base/257306

Log:
  Add preliminary support for RTL8168EP.
  
  Submitted by: Edward O'Callaghan (eocallaghan <> alterapraxis dot com)

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

Modified: head/sys/dev/re/if_re.c
==============================================================================
--- head/sys/dev/re/if_re.c     Tue Oct 29 05:30:21 2013        (r257305)
+++ head/sys/dev/re/if_re.c     Tue Oct 29 05:37:05 2013        (r257306)
@@ -234,6 +234,7 @@ static const struct rl_hwrev re_hwrevs[]
        { RL_HWREV_8168DP, RL_8169, "8168DP/8111DP", RL_JUMBO_MTU_9K },
        { RL_HWREV_8168E, RL_8169, "8168E/8111E", RL_JUMBO_MTU_9K},
        { RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL", RL_JUMBO_MTU_6K},
+       { RL_HWREV_8168EP, RL_8169, "8168EP/8111EP", RL_JUMBO_MTU_9K},
        { RL_HWREV_8168F, RL_8169, "8168F/8111F", RL_JUMBO_MTU_9K},
        { RL_HWREV_8168G, RL_8169, "8168G/8111G", RL_JUMBO_MTU_9K},
        { RL_HWREV_8168GU, RL_8169, "8168GU/8111GU", RL_JUMBO_MTU_9K},
@@ -1462,6 +1463,7 @@ re_attach(device_t dev)
                    RL_FLAG_WOL_MANLINK;
                break;
        case RL_HWREV_8168E_VL:
+       case RL_HWREV_8168EP:
        case RL_HWREV_8168F:
        case RL_HWREV_8168G:
        case RL_HWREV_8411:

Modified: head/sys/pci/if_rlreg.h
==============================================================================
--- head/sys/pci/if_rlreg.h     Tue Oct 29 05:30:21 2013        (r257305)
+++ head/sys/pci/if_rlreg.h     Tue Oct 29 05:37:05 2013        (r257306)
@@ -193,6 +193,7 @@
 #define        RL_HWREV_8168F          0x48000000
 #define        RL_HWREV_8411           0x48800000
 #define        RL_HWREV_8168G          0x4C000000
+#define        RL_HWREV_8168EP         0x50000000
 #define        RL_HWREV_8168GU         0x50800000
 #define        RL_HWREV_8411B          0x5C800000
 #define        RL_HWREV_8139           0x60000000
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to